Language Reference Guide : C. Generated User Classes : StringField User Class : UpdateFile Method
 
Share this page          
UpdateFile Method
The UpdateFile method writes the CurObject.String to a file.
This method has the following syntax:
integer = _StringFieldObject.UpdateFile(handlechanged =
          integer, str_dir = varchar(256))
This method has the following parameters:
handlechanged
Should be passed by reference and will be set to TRUE if this is a new file or if it is deleted
str_dir
Specifies the file handle prefix (directory name)
Depending on CurObject.Handle and CurObject.String values, the string is written to the file.