WINDEV, WEBDEV AND WINDEV MOBILEONLINE HELP
True if the writing was performed in the data file,False if an error occurred (lock, ...): the record is not modified. HError is used to identify the error.
Name of data file used.
Number of the record to write. The record loaded in memory is re-written on the specified record. If this number is greater than the total number of records in the data file, intermediate deleted records will be created in order for the sequential reading of the data file (<Source>.Read) to be consistent. If this parameter is not specified (equal to 0 or to the hCurrentRecNum constant), <Source>.Write modifies the current record in the data file.
<Source>.Write modifies the current record only. You cannot specify a record number other than the current one (to specify the current record number, use the hRecNumCurrent constant).
Configures:the mode for calculating the automatic identifier: For more details on the management of an automatic identifier when adding a record, see Managing the automatic identifier during an addition.hWriteDefault(Default value)If the written record is not a deleted record, the automatic identifier (if it exists) of the record in the data file is re-used. If the written record is a deleted record, a new automatic identifier is calculated for the record.The hWriteDefault constant is ignored if hWriteDefault is specified with one of the other constants.hSetIdAutoThe automatic identifier is not calculated during the write operation: The value of the identifier is the one stored during the write operation. The next value of the identifier calculated by the HFSQL engine will correspond to the greatest value of the identifier in the file +1.hForceIdAutoThe automatic identifier is not calculated during the write operation: The value of the identifier is the one stored during the write operation.hRecalculateIdAutoThe automatic identifier of the record will be re-calculated during the write operation. This constant has priority over hForceIdAuto and hSetIdAuto.A WLanguage error is generated if the three constants (hForceIdAuto, hSetIdAuto and hRecalculateIdAuto) are used at the same time.the lock mode applied to the record.If no lock constant is specified, the record is not locked.hLockWriteLock in write mode: the written record will be locked in write mode. This record can be read by another application but it cannot be modified by another application. Only the current application can modify it or unlock it.hLockReadWriteLock in read/write: the written record will be locked in read/write. This record cannot be read or modified by another application. Only the current application can modify it, read it or unlock it.hLockNo (Default value)No lock (even if HStartLock was used): the written record is not locked. Lock options will have no effect if the OLE DB provider or Native Connector (also called Native Access) does not support locks. <Options> is ignored.
Managing automatic identifiers
Writing deleted or crossed records
Version of the data file after a write operation
Managing the binary memos
If you use <Source>.Write with a Hyper File 5.5 database
Browsing and writing a record
Last update: 04/29/2020
Send a report | Local help
J'accepte les termes de la licence
All you have to do is configure your product as follows: