D_CRSET

SUMMARY
d_crset(dba[,dbn]
DB_ADDR *dba;
int dbn;

ARGUMENTS
dba Pointer to a BD_ADRR variable to receive the database address
of the current record.

dbn (optional) The number of the database containing the record.

DESCRIPTION
This function assigns the current record from the database address variable
pointed to by dba.It is used inconjuction with the d_crget function for
saving and restoring the current record.

──────────────────────────────────────────────────────────────────────────
Note:
If the record type of the current record is timestamped, you should also
call function d_stscr to set the last access timestamp for the record.
──────────────────────────────────────────────────────────────────────────

CURRENCY CHANGES
curr_rec=*dba

RETURN CODES
-6 S_INVADDR Invalid database address.You may have passed
the database address itself rather than pointer to it.

EXAMPLE
DB_ADDR save_dba;
..
/* save current record for later retrievial */
d_crget(&save_bda)
..
/* later, retrieve saved record */
d_crset(&save_dba);
d_recread(&irec);
..