|
|
|
|
|
- Overview
- When is the automatic data modification required?
- Performing the automatic modification of data files
- Development computer
- Deployment computer
- Notes
- Running the automatic data file modification several times
- Default configuration of setup program
- Saving data files
- Force automatic modification of data files
- Analysis shared between several applications and sites
- Access rights to the data file
- Limitation
Automatic data file modification
 Available only with these kinds of connection
The automatic data file modification updates the description of data files on user computers. If the structure of one or more data files has changed on the development workstation (adding or deleting fields, modifying fields, etc.), these changes must be transferred to the user workstations when the application is updated. If the application is updated while no automatic data modification is performed, the application found on the end-user computers may: - no longer operate properly.
- generate programming errors.
Remarks: - The automatic data file modification can be performed through programming with HModifyStructure.
The automatic data modification can only be performed by HModifyStructure.
When is the automatic data modification required? Performing the automatic modification of data files Development computer The automatic data file modification is systematically performed when the analysis is generated on the development computer. To apply the automatic modification to the data files on the end-user computers, the automatic modification must be performed when installing the update of the application or site. The setting of this automatic modification can be done: Running the automatic data file modification several times The automatic modification will have no effect on the application if it is performed on data that is already updated. Saving data files The data files of the application are automatically backed up before the automatic modification is performed. The backup directories are named: - "Auto Modif Save (<DateModifAuto> <HeureModifAuto>)" for automated modification of data files in Hyper File 5.5 or HFSQL Classic format.
- "Files before conversion (<DateAutoModif> <TimeAutoModif>)" for migrating data files from Hyper File 5.5 to HFSQL Classic.
Analysis shared between several applications and sites For an analysis shared between several applications or sites, after the automatic modification of data files, all the executables and sites that share the analysis must be updated. However, it is possible to authorize an application or site to use a more recent data file description, using the HCheckStructure function. "Live" modification of data files The modification of the data files can be performed even if applications are accessing these data files. During the modification of the data files, the different applications that handle the data files continue to operate.The application will no longer operate if the modifications are not compatible (deleting a key, deleting a unique key, deleting identifiers, deleting data files or items, modifying the format of an item, ...) During the first access to a data file whose structure is not compatible, an error indicates that the structure of the data file differs from the structure of the analysis. In the case of adding fields, adding keys, adding data files, the application will continue to function normally (unless the HCheckStructure function has been used with the constant hIdentique). Access rights to the data file The modification of the data files provokes the recreation of the data file on disk. In an allocation system that manages rights at file level (NTFS...), the data file after automatic modification will therefore have the rights of the directory to which it belongs. Before the automatic modification, if the data file had specific rights different from the rights of the folder, they must be redefined in Windows after the modification. Limitation The automatic data file modification operates for the data files with indexes only. Reminder: it is possible to create data files without an Index field.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|