STARTS
|
Syntax: |
STARTS(<Number of Key>) <Name of Index File> ON ERROR ...
END
|
||||
|
|
|
||||
|
Meaning: |
Reads a record from an Index File by a
secondary key. The record from the specified Index File
whose secondary key equals or is bigger than then current value of the
secondary 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 NAME$ >= "Smith" #BACKSLASH_ON CUSTOMER.NAME$ = "Smith" STARTS(1) CUSTOMER ON ERROR ERRORMES = "No data record found with NAME$ >=
\"Huber\"." + STR$(OK) + STR$(OK2) +
" " + ERRORTEXT$ END #BACKSLASH_OFF |
||||
|
See also: |
Fehlernummern bei Indexdateizugriffen |