Function
11
h
-
Find
Matching Record
Parameter
Block:
00:
FILE_HANDLE
File Identifier
01:
STARTING_RECORD
Record
ID to
start
search
02:
SEARChLDIRECTION
Search
Direction
(0
=
forward)(1
03:
SEARChLKEY
Offset
of
query key
buffer
04:
SEARCH_KEY_SEGMENT
Segment
of
query key
buffer
Returr
AX:
1
Value:
STATUS
Record
ID
of
next record or
Err
=
backward)
This
function
will
perform
a
query
upon
the specified
database.
The
SEARCHKEYSEGMENT
SEARCHKEY
specify the
segment
and
offset to
a
buffer
containing the
query key
to
be used
to
guide
the search.
Query
keys
are created
by
the
use
of
functions
1
5h
-
19h.
The
search
will
begin
with the
record
specified
by
the
STARTING
RECORD
parameter,
and
proceed
in
the
direction specified
by
SEARCHDIRECTION.
The
record ID
of
the
first
record
found
that
matches
the
query key
will
be
returned.
If
the record
specified
by
STARTINGRECORD
matches,
its
record
ID
will
be
returned.
See
the section
on Database
Queries
for
a
further
description
of
the
query
process.
Error
Returns:
95
Related Products for Tandy 600