|
|
|
|
|
- Record number not specified
- Data files in Hyper File 5.5 format
- xBase files
HState (Function) In french: HEtat
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 HState(Customer) = hStateActive THEN
END
Syntax
<Result> = HState([<Data file> [, <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). |
<Data file>: Optional character string Name of the data file used. If this name is not specified, HState will use the last data file used by the last HFSQL function (function starting with "H"). <Record number>: Optional integer Number of the sought record. If this number is not specified (or is equal to 0), HState will handle the current record. The current record is not read again. Remarks Record number not specified HState 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 HState to make sure that the record was not deleted. With HRead for example:
HRead(FileName, hRecNumCurrent)
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|