START
|
Syntax: |
START <Name of Index File> ON ERROR ...
END <Name of Index File> = <INDEX
FILE> |
||
|
Meaning: |
Reads a record from an Index File by the
primary key. The record of the specified Index File whose
primary key equals or is bigger than the current value of the primary key
fields is found and read. In the case of an error the block ON ERROR ... END
is executed. |
||
|
Parameter: |
|
||
|
Sample: |
/* Read first data
record whose NUMBER >= 4711 CUSTOMER.NUMBER =
4711 START CUSTOMER ON ERROR
ERRORMES = "No data record found with NUMBER >= 4711." + STR$(OK) + STR$(OK2) +
" " + ERRORTEXT$ END |
||
|
See also: |
Error numbers with Index File accesses |