home *** CD-ROM | disk | FTP | other *** search
- .Na "dbtsnewval"
- .mc |
- .Aa
- .Fu
- Return the new value of the timestamp column after a browse-mode update.
- .Ih "timestamp column, value of (browse mode)"
- .Sy
- .Sf "DBBINARY *dbtsnewval(dbproc)"
- .Sp "DBPROCESS" "*dbproc"
- .Co
- .Bl
- \f2dbtsnewval()\f1 is one of the \*L browse mode routines.
- See the Introduction for a detailed discussion of browse mode.
- .Bl
- \f2dbtsnewval()\f1 provides information about the timestamp column.
- The WHERE clause returned by \f2dbqual()\f1 contains a call to the
- \f2tsequal\f1 built-in function.
- .Ih "tsequal function"
- When such a WHERE clause is used in an UPDATE statement,
- the \f2tsequal\f1 function places a new value in
- the updated row's timestamp column and returns the new timestamp value
- to the application (if the update is successful).
- This routine allows the application to save the
- new timestamp value, possibly for use with \f2dbtsput()\f1.
- .Bz
- .Pa
- .Pi dbproc
- A pointer to the DBPROCESS structure that provides the connection
- for a particular front-end/\*S process. It contains all the
- information that \*L uses to manage communications and data between the
- front end and \*S.
- .in -.375i
- .Re
- .br
- A pointer to the updated row's new timestamp value. If no timestamp
- was returned to the application (possibly because the update was
- unsuccessful, or because the UPDATE statement did not contain
- the \f2tsequal\f1 built-in function), the pointer will be NULL.
- .Sa
- dbcolbrowse,
- dbcolsource,
- dbqual,
- dbtabbrowse,
- dbtabcount,
- dbtabname,
- dbtabsource,
- dbtsnewlen,
- dbtsput
- .mc
-