|
|
|
|
|
- Overview
- How to?
- Saving a version
- Opening a version
- Deleting a version
- Notes
- Opening files after a system lockup
Handling the versions of a window, report, query or project
| Warning for compatibility | This feature is kept for backward compatibility with the former versions. We recommend that you use the SCM to manage the different versions of the history for the project elements. |
When creating and developing the different elements of a project (window, query, report, project, and so on), you have the ability to keep several versions of an element. This allows you to save a version before performing important modifications in the element (change the interface of a window for example). A new element can be created from a previously saved version at any time. This means you no longer need to save the same window under different names depending on the version of the window. The window editor automatically manages the different versions and integrates them into the window registration file. A window corresponds to a ".WDW" file. This file contains the description of the window as well as all the versions saved for this window. The size of the ".WDW" file is proportional to the number of versions saved. The same principle applies to the queries, pages, reports and project (WDP, WWP or WPP file depending on the product used). At any time, you can: - Save a new version of the current element.
- Open a version of the current element.
- Delete a version of the current element.
Saving a version Saving a version is used to keep a backup at a given time. To save a version of the current element: - On the "Home" tab, in the "General" group, expand "Save" and select "Versions". The window for the versions of the current element is displayed.
- Click the "New" button. A window allows you to type your own comment about the version to create.
- Validate. The new version is saved and the current element is automatically saved.
Remark: The different versions of an element are displayed in descending order (from the most recent version) according to the date and time it was saved. Opening a version Opening a version allows you to create a new element corresponding to the selected version. To open one of the versions of the current element: - On the "Home" tab, in the "General" group, expand "Save" and select "Versions". The window for the versions of the current element is displayed.
- Select the version to open.
- Click the "Open" button. A new element is created in the corresponding editor. This element corresponds to the selected version. The name of this new element has the following format: <Element name> <Date and time of version backup>.
Deleting a version Deleting the useless versions reduces the size of the physical file (".WDW" for a window) corresponding to the current element. To delete a version of the current element: - On the "Home" tab, in the "General" group, expand "Save" and select "Versions". The window for the versions of the current element is displayed.
- Select the version to delete.
- Click "Delete". The selected version is automatically deleted from the window for version management. This deletion will be effective during the next backup of the element.
Opening files after a system lockup To avoid problems when a system lockup occurs (power outage for example), the editor proposes a system to automatically recover the elements opened in the editor: - On the "Home" tab, in the "Environment" group, expand "Options" and select "WINDEV/WEBDEV/WINDEV Mobile general options".
- On the "General" tab, check "Backup for automatic recovery every" and indicate the desired frequency if necessary.
When this system is enabled: - An automatic backup of opened elements is performed at specific time intervals (every 10 minutes by default).
- When an element is re-opened after a system lockup, an automatic recovery window appears. This window proposes to recover:
- the element as it was during the last backup performed by the developer,
- the element automatically saved by WINDEV, WEBDEV or WINDEV Mobile.
The selected version is automatically opened in the editor. The non-selected version is available in the window for managing the versions and it can be opened at any time.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|