UpdateAutoSysTimeFields
Similar to AddAutoSysTimeFields, but used to update existing definitions. The definition passed in replaces an existing one.
Type
ISAM Function
Declaration
NINT UpdateAutoSysTimeFields(FILNO datno, pA_STFIELDS defs);
Description
typedef struct astfields {
COUNT version; /* Version of this structure */
COUNT entries; /* number of entries in fields array */
LONG pad; /* padding to ensure struct alignment */
pA_STFIELD fields; /* fields array */
} A_STFIELDS, *pA_STFIELDS;
typedef struct astfield {
LONG fieldno; /* field number */
TEXT mode; /* set time */
} A_STFIELD, *pA_STFIELD;
CT_AUTOSYSTIME_CREATE 0x01 - when the record gets added
CT_AUTOSYSTIME_UPDATE 0x02 - when the record gets rewritten/updated.
Return
NO_ERROR on success