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_crread http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   D_CRREAD

SUMMARY
   d_crread(FIELD,value[,dbn])
   long FIELD;
   char *value;
   int dbn;

ARGUMENTS
   FIELD       The field type to be read from the current record.
   value       A pointer to the data area that will recieve the field
               contents.
   dbn         (optional)The number of the database containing the record

DESCRIPTION
   Function d_crread copies the contents of FIELD from current record to the
   area pointed to by value. if FIELD is an array field the entire is read.
   Elements of array cannot be read individuallyti.

CURRENCY CHANGES
   None

RETURN CODES
    6    S_DELETED     Record has been deleted.

    -5   S_INVFLD      Invalid field type. You either did not pass a field
                       type or you passed a field type which is not in the
                       current record.

    -7   S_NORC        The current record is null.

EXAMPLE
    char nane[32];         /* author name */
    ..
    /* find author of info record */
    d_fndco(HAS_PUBLISHED);
    d_crread(NAME,name);
    ..

See Also: d_csoread d_csmread

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