|
|||||
|
||||||
Other Library Functions |
function |
dbRecordExists |
Library: Database access (OMDB legacy)
Include: omdb.xin |
Return type: Switch Returns: True or false. |
define external switch function dbRecordExists read-only dbField record
Argument definitions
Use dbRecordExists to check whether or not the data cursor is positioned on an existing row.
You must include the following line at the beginning of your OmniMark program:
include "omdb.xin"
The data cursor points to the record set's currently active row.
The function uses a dbField shelf variable in which a dbQuery function stored the record set earlier.
repeat exit unless dbRecordExists my-query repeat over my-query output dbFieldValue my-query null '-DNF-' output '%t' when ! #last again output '%n' dbRecordMove my-query again
Copyright © Stilo International plc, 1988-2010.