This command is used to close both TAS and non-TAS files that have been previously opened using the OPENV (Open File) command.
CLOSE file_num Required - The number/handle of the file to be closed.
DEL | If the file being closed is non-TAS, you can include this option and the program will delete the file from the disk. |
COMMENTS
If you don't close the files before the program exits, it will be done automatically.
NOTE: If you have fields from the file you are closing on a form and that form is displayed or redisplayed, you will receive an error from TAS that the field belongs to a file that has been closed. Unless you have a specific reason to do so,
EXAMPLE
CLOSE @bkarcust_hndl // If opened with the OPENV command
CLOSE 'BKARCUST' // If opened with the OPEN command
SEE ALSO
Page url: http://www.cassoftware.com/tas/manual/closefile.htm