|
|
|
|
|
- Overview
- Manipulating a data file
- Duplicate/Copy a data file
- Delete a data file
- Rename a data file
- Use a dictionary
- Create an empty physical the data file corresponding to the description
Analysis editor: Manipulating a data file
The main operations that can be performed on a data file from the data model editor are as follows: Duplicate/Copy a data file Duplicating a data file is used to get two identical data files with different names. To duplicate/copy a data file: - Select the data file to be duplicated in the data model editor.
- On the "Home" tab, in the "Editing" group, click "Duplicate".
Note: It is also possible to select the "Duplicate" option from the data file context menu. - Specify the requested information and validate. The duplicated data file is automatically created in the current analysis (LDM).
Delete a data file To delete a data file: - Select the data file to be deleted in the data model editor.
- Right-click to open the context menu of the data file.
- Select "Delete". The data file is automatically deleted from the analysis (LDM). If links pointed to this data file, these links are also deleted.
Note When creating a data file with the same name as a previously deleted data file, WINDEV, WEBDEV and WINDEV Mobile offer to restore the description of the deleted data file. Rename a data file To rename a data file: - Select the data file to be renamed in the data model editor.
- Display the file description:
- On the "Analysis" tab, in the "Current element" group, click "Description".
- Display the data file context menu (right-click) and select "Data file description".
- In the description window, modify the name of the data file (and its name on disk if necessary).
- Validate. The data file is automatically renamed.
Use a dictionary A data file can be included in a dictionary in order to be re-used in a new application for example. To integrate the data file into a dictionary, simply drag and drop the data file from the data model editor into the dictionary (displayed in "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. Create an empty physical the data file corresponding to the description To create the corresponding empty physical data file: - In the data model editor, select the data file for which a physical file is to be created.
- Display the data file context menu (right-click) and select "Create data file".
- 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" sub-directory will be automatically created, containing the various log 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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|