Language Reference Guide : System Classes : DynExpr Class : GetField Method
 
Share this page          
GetField Method
The GetField method re‑evaluates the address of the field object or cell attribute associated with that field or table field cell and places the address in the specified variable.
This method has the following syntax:
integer = DynExpr.GetField(field = byref(variable))
This method is valid only if the expression that was specified when the DynExpr object was created is a variable that represents a field or table field cell.
If the method is successful, it returns ER_OK. If it is not successful, it returns a non-zero value. Descriptions of system constant values and their numeric equivalents are listed in Error Codes.