PC SOFT

WINDEV的在线文档

  • Overview
  • Restoring an analysis
  • Canceling the last generation
  • Resetting the version number to 1
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系: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
WinDev, WebDev and WinDev Mobile enable you to manage the different versions of the analysis from the data model editor.

To open the analysis linked to the project, select "Project .. Load the analysis".To open the analysis linked to the project, clickamong the quick access buttons.

The management of the analysis versions can be performed from the data model editor via "Analysis .. Manage the versions". Each analysis version corresponds to a generation of the analysis.The management of the analysis versions can be performed from the data model editor: on the "数据模型" pane, in the "数据模型" group, expand "生成" and select "Manage the versions". Each analysis version corresponds to a generation of the analysis.

You have the ability to work:
  • On the current version of the analysis.
  • On an earlier version of the analysis.
Note: When an analysis is damaged, you can:
  • Repair the analysis ("Analysis .. Repair the analysis"). See Repair an analysis for more details.Repair the analysis: on the "数据模型" pane, in the "数据模型" group, expand "维护" and select "Repair the analysis". See Repair an analysis for more details.
  • Restore an earlier version of the analysis.
  • Retrieve the last version saved of the analysis ("Analysis .. Last version saved").Retrieve the last version saved of the analysis: on the "数据模型" pane, in the "数据模型" group, expand "生成" and select "Last version saved".
All the versions of the analysis are viewed in a graph. The yellow square indicates the generation number of the analysis and the caption (on the right) indicates the generation date.

"Small rectangles" are displayed between two versions:

  • One rectangle: few modifications have been made between the two versions.
  • Several rectangles: several modifications have been made between the two versions.
To view the details of the modifications performed between two versions, double-click the line containing the "small rectangles" or click the "Modifications" button.

The options available in the manager of analysis versions are:

  • Restoring an analysis.
  • Canceling the last generation.
  • Resetting the version number to 1.

Restoring an analysis
To restore an analysis from the manager of analysis versions:
  1. Select the version to restore.
  2. You can:
    • Restore the version in the specified directory. An independent analysis corresponding to the selected version is created. This analysis will not be linked to the current project. This option is selected by default.
    • Overwrite the current analysis. The restored analysis will be automatically linked to the current project.
  3. Validate. The restore operation is performed.
Caution: The data files associated with an analysis whose version number is greater than the restored version cannot be opened anymore. You must:
  • Restore the data files corresponding to the analysis version that was restored (with WDLog for example).
  • Delete the existing data files in order to re-create them.

Canceling the last generation
Canceling the last generation of the analysis is used to restore the analysis to its status before the last generation. The modifications performed since the last generation are not applied.

To cancel the last generation of the analysis, on the "数据模型" pane, in the "数据模型" group, expand "生成" and select "Cancel the last generation".

Resetting the version number to 1
The version number of the analysis can be reset to 1. In this case:
  • The version number of the analysis is reset to one. The users will not be able to see the number of generations that have been required to develop the application.
  • The versions of the different generations of the analysis are deleted.
    Note: These versions are found in the "ANAxxx" sub-directories found in the "<ProjectName>.ANA" sub-directory of the project.
No specific action is performed on the data files: the version number of the data file is not modified.

Resetting the version number of the analysis to 1 can be done at any time and it has no influence on the distributed analysis versions.

To reset the version number of the analysis to 1, on the "数据模型" pane, in the "数据模型" group, expand "生成" and select "Reset the analysis version to 1".