4D v16.3

CREATE DATA FILE

Home

 
4D v16.3
CREATE DATA FILE

CREATE DATA FILE 


 

CREATE DATA FILE ( accessPath ) 
Parameter Type   Description
accessPath  String in Name or complete access path of the data file to create

The CREATE DATA FILE command creates a new data file to disk and replaces the data file opened by the 4D application on-the-fly.

The general functioning of this command is identical to that of the OPEN DATA FILE command; the only difference is that the new data file set by the accessPath parameter is created just after the structure is re-opened.

Before launching the operation, the command verifies that the specified access path does not correspond to an existing file.

4D Server: Beginning with 4D v13, this command can be executed with 4D Server. In this context, it performs an internal call to QUIT 4D on the server (which causes a dialog box to appear on each remote machine, indicating that the server is in the process of quitting) before creating the designated file.



See also 

OPEN DATA FILE

 
PROPERTIES 

Product: 4D
Theme: 4D Environment
Number: 313

 
HISTORY 

Created: 4D v6.8
Modified: 4D v13

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)