Opening an ODBC database (opendb)ΒΆ

opendb

Open an ODBC database


SYNTAX

opendb database_id [err = label] [traps = label]

Opens a connection to the specified database, and opens all files in the database which were declared by means of !ofile (as opposed to !file).

database_id

The identifier of the database to be opened. The identifier is assigned in the database declaration.

[err = label]

If the database cannot be opened, execution branches to the line indicated by label.

[traps = label]

General purpose trap clause that traps any condition not explicitly trapped, passing control to the line indicated by label. It has the lowest priority, and is only invoked if a trappable condition has not been more explicitly trapped. See Traps.


RELATED TOPICS

ODBC

Sculptor commands used with ODBC