Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- db_VISTA III - d_crstat http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   D_CRSTAT

SUMMARY
   d_crstat([dbn])
   int dbn;

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

DESCRIPTION
   This function test the timestamp status of the current record of SET since
   it was last accessed by the program.The current record's record type must
   have been specified as timestamped in the DDL schema file for the database.
   The timestamp status is returned as defined below.

CURRENCY CHANGES
   None

RETURN CODES

   -41   S_TIMESTAMP   The current member record type is not timestamped.

    0    S_OKAY        The current member has not been changed by another user
                       since it was last accessed.

    6    S_DELETED     The current member has been deleted since it was last
                       accessed.

    7    S_UPDATED     The current member was modified since last accessed.




EXAMPLE
    if (d_crstat()==S_OKAY){
        d_recwrite(&info);
       ....
    }

See Also: d_cmstat d_costat d_csstat d_recstat

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson