swirl Guide to OmniMark 5   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
      Other Library Functions  
function   dbOpenODBC    

Library: omdb - high level database access
Include: omdb.xin

Declaration

  define external dbDatabase function dbOpenODBC
              value stream dsn
     user     value stream user       optional initial {''}
     password value stream password   optional initial {''}

Where:
dsn


user
password

Purpose

The dbOpenODBC function creates a connection to an ODBC database, raising an exception if the connection fails. To use this function, declare an OMX dbDatabase variable, then use that variable to create a connection to your database. For example:

          include "omdb.xin"

          process
             local dbDatabase my-database

             set my-database to dbOpenODBC "DatabaseDemo"

        Other Library Functions
   dbClose
   dbExecute
   dbFieldValue
   dbIsVersionCompatible
   dbLibraryVersion
   dbOpenODBC
   dbQuery
   dbRecordExists
   dbRecordMove
   dbTableClose
   dbTableDelete
   dbTableInsert
   dbTableOpen
   dbTableUpdate
 
----  

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

Generated: August 11, 2000 at 3:07:06 pm
If you have any comments about this section of the documentation, send email to docerrors@omnimark.com

Copyright © OmniMark Technologies Corporation, 1988-2000.