Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - <b>class tdbodbc</b> odbc database management http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Class TDbOdbc   ODBC DataBase management
--------------------------------------------------------------------------------

 FiveWin implements the Class TDbOdbc to simulate the xBase management
 style on any ODBC used table.

 DATAs
--------------------------------------------------------------------------------
 hStmt           The handle of the SQL statement to process.
 oOdbc           A reference to the related TOdbc session object
 aFields         Array containing all the DataBase fields description
 nRetCode        Returned code from the latest operation
 cLastComm       The latest executed SQL command

 METHODs
--------------------------------------------------------------------------------
 New             Constructor from source code
 End             Ends control and make it disappear
 Cancel          Cancels the current in process SQL statement
 Execute         Execute an SQL statement
 GetCurName      Gets the current assigned cursor name
 GetOptions
 InitFields      Loads all DataBase fields descriptions into ::aFields
 LastCommand     Last executed command
 LastError       Retrieves the last error
 FieldGet        Retrieves the contents of a field
 FieldGetBlob    Retrieves the contents of a BLOB field into a disk file
 FieldName       Retrieves the name of a field
 FieldType       Retrieves the type of a field
 FieldLen        Retrieves the len of a field
 FieldDec        Retrieves the number of decimals of a field
 ParamData
 Prepare         Prepares a SQL command so next time won't be parsed again
 PutData         Changes the current cursor pointed table values
 RowCount        Retrieves the number of fields of the DataBase
 SetCurName      Sets a name for the cursor in use
 SetOptions      Set several SQL options
 SetParam        Sets a param description for next SQL statement
 Skip            Skip to the next record


See Also: Class TODBC

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson