User Tools

Site Tools


create_create_an_empty_data_file_.htm
Navigation:  Language Reference > 13 - Built-in Functions >====== CREATE (create an empty data file) ====== Previous pageReturn to chapter overviewNext page

CREATE(file)

blk2blue.jpg

CREATE Creates an empty data file.
file The label of the FILE to be created.

The CREATE statement adds an empty data file to the operating system directory. If the file already exists, it is deleted and recreated as an empty file. The file must be closed, or the “File Already Open” error is posted. CREATE does not open the file for access.

Errors Posted:

03 Path Not Found
04 Too Many Open Files
05 Access Denied
52 File Already Open
54 No Create Attribute

Example:

CREATE(Master)    !Create a new master file

CREATE(Detail)    !Create a new detail file

See Also:

CLOSE

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