datasource, as well as allowing access to any tables/views defined in
the datasource to which the user has sufficient privileges.
+
\wxheading{Include files}
<wx/db.h>
+
\wxheading{Helper classes and data structures}
The following classes and structs are defined in db.cpp/.h for use with the wxDb class.
\item \helpref{wxDbInf}{wxdbinf}
\end{itemize}
+
\wxheading{Constants}
NOTE: In a future release, all ODBC class constants will be prefaced with 'wx'
\subsection{Enumerated types}\label{wxdbenumeratedtypes}
+\wxheading{Enumerated types}
\docparam{enum {\bf wxDbSqlLogState}}{sqlLogOFF, sqlLogON}
See the remarks in \helpref{wxDb::Dbms}{wxdbdbms} for exceptions/issues with each of these database engines.
+
\wxheading{Public member variables}
\docparam{SWORD {\bf wxDb::cbErrorMsg}}{This member variable is populated as a result of calling \helpref{wxDb::GetNextError}{wxdbgetnexterror}. Contains the count of bytes in the wxDb::errorMsg string.}
the connections have been closed.
This function performs a \helpref{wxDb::CommitTrans}{wxdbcommittrans}
-on the connection before closing it to commit any changes tht are still
+on the connection before closing it to commit any changes that are still
pending, as well as to avoid any function sequence errors upon closing
each connection.
instances.
Until a call to wxDb::CommitTrans() is made, no other user or cursor is able
-to see any changes made to the row(s) that have been inserted/modifed/deleted.
+to see any changes made to the row(s) that have been inserted/modified/deleted.
\wxheading{Special Note : {\it Cursors} }
A 'view' is a logical table that derives columns from one or more other tables or views. Once the view is created, it can be queried exactly like any other table in the database.
-NOTE: Views are not available with all datasources. Oracle is one example of a datasouce which does support views.
+NOTE: Views are not available with all datasources. Oracle is one example of a datasource which does support views.
\wxheading{Example}
\docparam{aHdbc}{Handle to the ODBC connection. Pass this in if the ODBC function call that erred required a hdbc or hstmt argument.}
-\docparam{AHstmt}{Handle to the ODBC statement being executed against. Pass this in if the ODBC function call that erred out required a hstmt argument.}
+\docparam{aHstmt}{Handle to the ODBC statement being executed against. Pass this in if the ODBC function call that erred out required a hstmt argument.}
\wxheading{Remarks}