This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
CREATE DATA FILE
|
CREATE DATA FILE ( accessPath ) | ||||||||
Parameter | Type | Description | ||||||
accessPath | String |
![]() |
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.
Product: 4D
Theme: 4D Environment
Number:
313
Created: 4D v6.8
Modified: 4D v13
4D Language Reference ( 4D v20 R7)