- Overview
- When is the automatic data modification required?
- Performing the automatic modification of data files
- Development computer
- Deployment computer
- Notes
- Running the automatic modification of data files several times
- Default configuration of setup program
- Saving data files
- Forcing the automatic modification of files
- Analysis shared between several applications and sites
- Access rights to the data file
- Limitation
Automatic modification of data files
 Available only with these kinds of connection
The automatic modification of data files is used to update the description of data files found on the user computers. Indeed, if the structure of one or more files has evolved on the development computer (addition, deletion or modification of items), these modifications must necessarily be carried over to the end-user computers 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 modification of data files can be performed through programming with HModifyStructure.
When is the automatic data modification required? Performing the automatic modification of data files Development computer The automatic modification of data files 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 modification of data files 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: - "Backup of Auto Modif (<DateAutoModif> <TimeAutoModif>)" for an automatic 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, an application or a site can be allowed to use a more recent file description via HCheckStructure. "Live" modification of data filesThe 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. When adding an item, a key or a file, the application will continue to operate as usual (except if HCheckStructure was called with the hIdentical constant). Access rights to the data file The modification of the data files provokes the re-creation of the data file on disk. In an allocation system managing the rights at file level (NTFS, ...), the data file after modification will 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 modification of data files operates for the data files with indexes only. Reminder: You have the ability to create data files containing no Index item.
This page is also available for…
|
|
|