User Tools

Site Tools


empty_empty_a_data_file_.htm
Navigation:  Language Reference > 13 - Built-in Functions >====== EMPTY (empty a data file) ====== Previous pageReturn to chapter overviewNext page

EMPTY(file)

blk2blue.jpg

EMPTY Deletes all records from a FILE.
file The label of a FILE.

EMPTY deletes all records from the specified file. EMPTY requires exclusive access to the file. Therefore, the file must be opened with access mode set to 12h (Read/Write Deny All) or 22h (Read/Write Deny Write).

Errors Posted:

37 File Not Open
63 Exclusive Access Required

Example:

OPEN(Master,18)     !Open the master file

EMPTY(Master)       !and start a new one

See Also:

OPEN

SHARE

empty_empty_a_data_file_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1