ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Editors / Data model editor / Logical Data Model
  • Overview
  • Handling a data file
  • Duplicating/Copying a data file
  • Deleting a data file
  • Renaming a data file
  • Using a dictionary
  • Creating the corresponding empty data file
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
The main operations that can be performed on a data file from the data model editor are as follows:
Handling a data file

Duplicating/Copying a data file

Duplicating a data file is used to get two identical data files with different names.
To duplicate/copy a data file:
  1. Select the data file to duplicate.
  2. On the "Home" tab, in the "Editing" group, click "Duplicate".
    Remark: You also have the ability to select "Duplicate" in the context menu of the file.
  3. Specify the requested information and validate. The duplicated data file is automatically created in the current analysis (LDM).

Deleting a data file

To delete a data file:
  1. Select the data file to delete.
  2. Right-click to open the context menu of the data file.
  3. Select "Delete". The data file is automatically deleted from the analysis (LDM). If links pointed to this data file, these links are also deleted.
Remark: When creating a data file whose name is identical to the name of a data file that was deleted beforehand, WINDEV, WEBDEV and WINDEV Mobile propose to restore the description of the deleted data file.

Renaming a data file

To rename a data file:
  1. Select the data file to rename.
  2. Open the file description:
    • On the "Analysis" tab, in the "Current element" group, click "Description".
    • Open the context menu of the file (right click) and select "Description of data file".
  3. In the description window, modify the name of the data file (and its name on disk if necessary).
  4. Validate. The data file is automatically renamed.

Using a dictionary

A data file can be included in a dictionary in order to be re-used in a new application for example. The data file is included in a dictionary simply by dragging it from the data model editor and dropping it in the dictionary (in the "Dictionary" pane).
When it is included in the dictionary, the description of the data file can subscribe to the modifications. Any modification made in the description of the data file will be applied to the dictionary object and to all the uses of this object.
For more details, see dictionary.

Creating the corresponding empty data file

To create the corresponding empty physical data file:
  1. Select the data file for which a physical file must be created.
  2. Open the context menu of the file (right click) and select "Create data file".
  3. Select the directory where the data file will be created and validate.
The following files are automatically created in the specified directory:
  • "<Data file>.FIC" (data file).
  • "<Data file name>.MMO" (memo file).
  • "<Data file name>.NDX" (index file).
If the data file is logged, a "JNL" subdirectory will be automatically created and will contain the different logged files.
If the data file contains a full-text index, a "<File name>.FTX" file will be created.
Remarks:
  • This option is equivalent to calling HCreationIfNotFound.
  • This option will be ignored if the data file already exists in the specified directory.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 10/27/2022

Send a report | Local help