X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/954b8ae60391d18b87a604e7919c87c0c6ae208b..d82323930c8ce1b800f2213a598fbda79f868d1d:/docs/latex/wx/database.tex?ds=inline diff --git a/docs/latex/wx/database.tex b/docs/latex/wx/database.tex index cc884b99d2..92c5c24936 100644 --- a/docs/latex/wx/database.tex +++ b/docs/latex/wx/database.tex @@ -3,6 +3,9 @@ Every database object represents an ODBC connection. The connection may be closed and reopened. +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} @@ -15,6 +18,12 @@ The connection may be closed and reopened. \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} @@ -71,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. @@ -81,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.