|
|
|
|
|
- Record number not specified
- Data files in Hyper File 5.5 format
- xBase files
<Source>.State (Function) In french: <Source>.Etat
Available only with these kinds of connection
Used to find out the state of a record. A record can be active, crossed or deleted.
IF Customer.State() = hStateActive THEN // Processes END
Syntax
<Result> = <Source>.State([<Record number>])
<Result>: Integer constant Status of record: | | hStateActive | The record is active. | hStateCrossed | The record is crossed. | hStateDel | The record is deleted. | hStateInvalid | Record status not found (error). |
<Source>: Type corresponding to the specified source Name of the data file used. <Record number>: Optional integer Number of the sought record. If this number is not specified (or is equal to 0), <Source>.State will handle the current record. The current record is not read again. Remarks Record number not specified <Source>.State reads no record if <Record number> is not specified. In a network application, we advise you to read the record again before the call to <Source>.State to make sure that the record was not deleted. With <Source>.Read for example:
FileName.Read(hRecNumCurrent)
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|