Components
The IDL DataMiner provides two IDL objects for accessing databases:
A full discussion of IDL objects is beyond the scope of this manual. Consult the Application Programming manual for details about IDL's object-oriented programming features.
The Database object contains instance data and methods that you can use to connect to, disconnect from, and perform operations on a DBMS. The Recordset object contains a database table or the results from a SQL query. You can use Recordset methods to manipulate table data.
Note
Some of the methods associated with IDL database and recordset objects are driver-dependent. This means that some functions are not available when you are using database drivers that do not support those functions.
The IDL DataMiner also provides an IDL function, DIALOG_DBCONNECT, that you can use to connect to the DBMS via the standard ODBC dialog boxes. Using this method, you are prompted for any information that is required to connect to the desired database.
Finally, the IDL function DB_EXISTS allows you to determine if database functionality is available and licensed on a specific platform.