SiMX Help‎ > ‎The Target Platform‎ > ‎Objects‎ > ‎DB Object‎ > ‎

DB.GetFieldValue


Platform Objects


Description

Returns the value for the field identified by its name.   Returns the value from the current record if Select was called.  Otherwise, the value is taken from the first record or according to the record object, if set.


Syntax


Function GetFieldValue


Parameters


string field_name - name for the field, whose value should be returned.


Return value


variant - the requested field value.
An exception is thrown in case of errors.


Example

This sample is not yet available.

Dim val
If DB.Select() Then 
   Do 
      val = DB.GetCellVaue( "Field1" ) 
   Loop While( DB.GoNext() ) 
End If


See also

Platform Objects and Methods
DB.sort
DB.AppendFinish