Language Reference Guide : C. Generated User Classes : StringField User Class : SetDBHandle Method
 
Share this page          
SetDBHandle Method
The SetDBHandle method retrieves a string by assigning CurObject.Handle to StringObject.DBHandle.
This method has the following syntax:
integer = _StringFieldObject.SetDBHandle()
This method executes a select query; a commit operation should be performed after calling SetDBHandle.
If the SetDBHandle method is successful, it returns ER_OK. Descriptions of system constant values and their numeric equivalents are listed in Error Codes.