swirl
Guide to OmniMark 7   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
 
 

db.database

 

 

The db.database OMX component allows you to use either your existing ODBC-compliant software drivers or your Oracle client drivers to create a connection to and manipulate a database.

Usage Notes

Within your program, you can create as many instances of the db.database OMX component as you require by declaring global and local variables of type "db.database".

Please refer to OMX Components for a general description of OMX components and how they are used.

Related OMDB library functions:

The functions

are used to establish and discard db.database components. The db.database objects are used as parameters by the following OMDB library functions:

Example

Once you have declared your db.database OMX variables, you can use them with one of the dbOpen functions (such as db.open-odbc) in the OmniMark Database library to create connections to databases.

  import "omdb.xmd" prefixed by db.

  process
     local db.database my-database

     set my-database to db.open-odbc "MyDatabase"

Assuming that no errors occur when establishing the connection to the database, you can now manipulate the data in that database using the other functions in the OmniMark Database library.

   
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACYLIBRARIES ] [ ERRORS ]

OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:45:02 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.