PC SOFT

WINDEV的在线文档

  • 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
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

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. Select "Edit .. Duplicate".On the "首页" pane, in the "编辑" group, click "复制".Note: You also have the ability to select "Duplicate" from the popup 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. Display the popup menu of the selected data file (right mouse click).
  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.
Note: 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. Display the description of the data file:
    • Select "Structures of files .. Description".On the "数据模型" pane, in the "当前元素" group, click "描述".
    • Display the popup menu of the file (right mouse 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. Including the data file in a dictionary is performed by Drag and Drop from the data model editor to the dictionary (displayed in the "Dictionary" pane).

When it is included in the dictionary, the description of the data file can subscribe to the modifications. Any modification performed in the description of the data file will be applied to the dictionary object and to all the uses of this object.

See dictionary for more details.

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. Display the popup menu of the file (right mouse click) and select "Create the data file".
  3. Select the directory where the data file must be created and validate.
The following files are automatically created in the specified directory:
  • "<File name>.FIC" (data file).
  • "<File name>.MMO" (memo file).
  • "<File name>.NDX" (index file).
If the data file is logged, a "JNL" sub-directory will be automatically created and if will contain the different logged files.

If the data file contains a full-text index, a "<File name>.FTX" file will be created.

Notes: