The USFile ReadTextFile Method

Previous Next

See Also

The ReadTextFile method reads a complete text file. The method returns the characters read.

The syntax is:

INVOKE USFile.ReadTextFile


SELECT <FileName>

Where FileName is the name of the file to read. The name is allowed to contain environment variables.


UPDATE ToursBackup

SET tours = USFile.ReadTextFile('%TEMP%\MyToursFile.txt')

WHERE id = 1