SUMMARY d_recread(value[,dbn]) char *value; int dbn;
ARGUMENTS value Pointer to area where the contens of the current record are to be copied.
dbn (optional)The number of the database containing the record
DESCRIPTION This function copies the contens of the current record to the data area pointed to by the value. Usually, value will point to a variable declared as one of the struct types in the dbname.h header file corresponding to a DDL record definition.
CURRENCY CHANGES None
RETURN CODES 6 S_DELETED Record has been deleted.
-7 S_NORC The current record is null.
-24 S_NOTLOCKED Record type of current record is not locked.
EXAMPLE struct info irec; .. /* display all info records in id_code order */ for (d_keyfrst(ID_CODE);db_status == S_OKAY; d_keynext (ID_CODE)) { d_recread (&irec);