Class PBEFetchAction

Object
  |
  +--PBEAction
        |
        +--PBEFetchAction

public class PBEFetchAction
extends PBEAction


Description:
PBEFetchAction selects the specified row of the object (or whose attribute) this event is declared on.

PBEFetchAction can be used in object and attribute events.


Event String Action Name:
fetch


Syntax:

fetch( position )


Parameters
position - Position can either be "first", "last" or an absolute row number.


Examples:
 PBE:objectEvent(
   "invoice",
   "after:find:fetch(first)");
 
This event causes the the first record of object "invoice" to be fetched after activation of the "find" method.

This example can be found in the file "initdemo.pbt" of the "PBE Demo" module (approx. line 267).


Fields inherited from class PBEAction
iParameters, iType, name, procName
 
Constructor Summary
PBEFetchAction()
           
 
Method Summary
 varchar parameters()
           
 
Methods inherited from class PBEAction
actionArguments, actionCall, actionParameters, attributeReference, callString, checkEvent, getObject, methodReference, nestedInput, objectReference, parameter, perform, performParameterCount, printPerform, tracePerform
 

Constructor Detail

PBEFetchAction

public PBEFetchAction()
Method Detail

parameters

public varchar parameters()
Overrides:
parameters in class PBEAction