|
|
|
|
|
- Managing locks
- .Security and <Source>.Flush
<Source>.Flush (Function) In french: <Source>.ForceEcriture
Available only with these kinds of connection
Forces the operating system of the computer where the data files are found to write data onto the disk. The HFSQL context of the manipulated data file is preserved (blocking, current path, etc.). Remark: Used regularly, this function minimizes data loss caused by unexpected stoppages of the workstation on which the data files are stored (e.g. power failure).
Client.Nom = "Moulin"
Client.Prenom = "François"
Client.Adresse = "Impasse de la belle"
Client.Ville = "Montpellier"
Client.CodeP = "34000"
Client.Pays = "France"
Client.Ajoute()
Client.ForceEcriture()
Syntax <Source>: Type corresponding to the specified source Name of the data file used. Remarks <Source>.Security and <Source>.Flush <Source>.Security and <Source>.Flush can both be used to force a physical write operation on disk. However: - <Source>.Security is used to force a write operation into the data files used during each write operation. The HFSQL engine automatically performs the write operation. The data files are not closed during this write operation. This results in slower write speeds.
- <Source>.Flush forces the data file(s) to be written when it is called. The data files are closed and then re-opened during this write operation. The write operation is not slowed down.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|