Determine whether the specified table is updatable through the DB-Library browse-mode facilities.
DBBOOL dbtabbrowse(dbproc, tabnum) DBPROCESS *dbproc; int tabnum;
A pointer to the DBPROCESS structure that provides the connection for a particular front-end/server process. It contains all the information that DB-Library uses to manage communications and data between the front end and server.
The number of the table of interest, as specified in the select statement’s from clause. Table numbers start at 1.
“TRUE” or “FALSE”.
dbtabbrowse is one of the DB-Library browse-mode routines. See “Browse mode” for a detailed discussion of browse mode.
dbtabbrowse provides a way to identify browsable tables. It is useful when examining ad hoc queries prior to performing browse mode updates based on them. If the query has been hard-coded into the program, this routine is obviously unnecessary.
For a table to be considered “browsable,” it must have a unique index and a timestamp column.
The application can call dbtabbrowse anytime after dbresults.
The sample program example7.c contains a call to dbtabbrowse.
dbcolbrowse, dbcolsource, dbqual, dbtabcount, dbtabname, dbtabsource, dbtsnewlen, dbtsnewval, dbtsput