Declaration define external dbDatabase function dbOpenODBC
value stream dsn
user value stream user optional initial {''}
password value stream password optional initial {''}
Where:
dsn
The name of the database you want to create a connection to.
user
An optional user name that will be supplied to the database when the connection is made.
password
An optional password that will be supplied to the database when the connection is made.
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"
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.