X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b8de493fbdba4c710a66f2e8aad290ce78550fc4..d82323930c8ce1b800f2213a598fbda79f868d1d:/docs/latex/wx/database.tex diff --git a/docs/latex/wx/database.tex b/docs/latex/wx/database.tex index afc8b35035..92c5c24936 100644 --- a/docs/latex/wx/database.tex +++ b/docs/latex/wx/database.tex @@ -1,15 +1,29 @@ \section{\class{wxDatabase}}\label{wxdatabase} -Every database object represents an ODBC connection. The connection may be closed and reopened. +Every database object represents an ODBC connection. +The connection may be closed and reopened. -\wxheading{Derivation} +Note: this class is considered obsolete, replaced by the Remstar wxDB/wxTable classes +(documented separately in Word and PDF format, as odbc.doc and odbc.pdf). + +\wxheading{Derived from} \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{See also} \overview{wxDatabase overview}{wxdatabaseoverview}, \helpref{wxRecordSet}{wxrecordset} +A much more robust and feature-rich set of ODBC classes is now +available and recommended for use in place of the wxDatabase class. + +See details of these classes in: +\helpref{wxDB}{wxdb}, \helpref{wxTable}{wxtable} + \latexignore{\rtfignore{\wxheading{Members}}} \membersection{wxDatabase::wxDatabase} @@ -66,9 +80,9 @@ and disconnects from the current data source. Commits previous transactions. Not implemented. -\membersection{wxDatabase::ErrorOccured} +\membersection{wxDatabase::ErrorOccurred} -\func{bool}{ErrorOccured}{\void} +\func{bool}{ErrorOccurred}{\void} Returns TRUE if the last action caused an error. @@ -76,7 +90,7 @@ Returns TRUE if the last action caused an error. \func{void}{ErrorSnapshot}{\param{HSTMT}{ statement = SQL\_NULL\_HSTMT}} -This function will be called whenever an ODBC error occured. It stores the +This function will be called whenever an ODBC error occurred. It stores the error related information returned by ODBC. If a statement handle of the concerning ODBC action is available it should be passed to the function.