Skip to main content
Skip table of contents

Functions for Databases

OpenDBConnection procedure

Since version 5.12.8335.0

Connects to a database.

Synopsis

CODE
OpenDBConnection("MyDatabase\")
OpenDBConnection("MyTable")
OpenDBConnection(2)

Parameters

Name

Type

Required?

Description

name_or_index

string

yes

The name of the table, the name of the database (terminated with a backslash), or the index of the table in the list of tables.

Returns

Nothing.

CloseDBConnection procedure

Since version 5.12.8335.0

Disconnects a database.

Synopsis

CODE
CloseDBConnection("MyDatabase\")
CloseDBConnection("MyTable")
CloseDBConnection(2)

Parameters

Name

Type

Required?

Description

name_or_index

string

yes

The name of the table, the name of the database (terminated with a backslash), or the index of the table in the list of tables.

Returns

Nothing.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.