BtrvGetEqual

Prev Next Home Home Table Of Contents Index

BtrvGetEqual (DataVar,Value,Key,Handle)

BtrvGetEqual goes to the previous record of the file based on the key number that you pass and reads the record matching Value into DataVar. The type of value passed has to match the type of data for which the key is defined. If the key is a string then Value is a string. If BtrvResult is zero, the data was found. If BtrvGetNext is called after this, the next sequential record based on the key is read.


Example:
BtrvGetEqual(DataVar,'MARC PERKEL',1,Handle)

Result Codes: 4 - Key Value not Found 6 - Invalid Key Number

See Also: BtrvGetLess BtrvGetLessOrEqu BtrvGetGreater
BtrvGetGreaterOrEqu

Category: Btrieve

Prev Next Home Home Table Of Contents Index

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home