function
Library: Database access (OMDB legacy)
Include: omdb.xin |
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