Language Reference Guide : C. Generated User Classes : StringField User Class : SetFileHandle Method
 
Share this page          
SetFileHandle Method
The SetFileHandle method assigns CurObject.Handle to the StringObject.FileHandle of the String attribute.
This method has the following syntax:
integer = _StringFieldObject.SetFileHandle(str_dir =
          varchar(256))
This method has the following parameter:
str_dir
Specifies the file handle prefix (directory name)
If the SetFileHandle method is successful, it returns ER_OK. Descriptions of system constant values and their numeric equivalents are listed in Error Codes.