_XOnDAO2_DatabaseInfo_VIs.vi

Description

This Libary gives you a small Information Summary for the Database



DIDeleteDI

This function is the destructor of the DatabaseInfo Handle.

Parameters

DIHandle - Handle of the DatabaseInfo (Input)

error in - a cluster describing the error state before executing the current VI. If the error state is TRUE, the VI will just pass the error cluster and incoming handle, no operation will happen.

error out - a cluster that describes the error status after this VI executes. If the error status is TRUE, an error occured. The DAO Error message (AKA source) is combined from the DAO-dll-call, and, where available, additional input-parameters. The DAO Error codes are always defined as:

-1 Handle not initialized

-2 Error

XOn Software GmbH


Connector Pane

DIDeleteDI


Controls and Indicators

cdlrn

DIHandle

cclst

error in (no error)

The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

iclst

error out

The error out cluster passes error or warning information out of a VI to be used by other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.


DIGetDatabaseInfo

This function gets all the available Information about a database and return it into a cluster

Parameters

DIHandle- Handle of the DatabaseInfo (Input)

DIHandle - Handle of the DatabaseInfo (Output)

DatabaseInfo Cluster of Database Ionformation:

Name - Full path of the database

Connect- the connect string used during a call of DBOpen

Version - the version of the Microsoft Jet database file. The value returned represents the version number in the form "major.minor"; for example,

"3.0". The product version number (for example, 3.0) consists of the

version number (3), a period, and the release number (0). The versions to

date are 1.0, 1.1, 2.0, and 3.0.

CollatingOrder - the collating order of the current database (depends on the language)

QueryTimeout - the current number of seconds to allow before subsequent operations on the connected database are timed out

Updateable - TRUE if the Database allows updates; otherwise FALSE, indicating either that you passed TRUE in ReadOnly when you opened the Database or that the database itself is read-only.

Transactions - TRUE if the database allows transactions; otherwise FALSE

error in - a cluster describing the error state before executing the current VI. If the error state is TRUE, the VI will just pass the error cluster and incoming handle, no operation will happen.

error out - a cluster that describes the error status after this VI executes. If the error status is TRUE, an error occured. The DAO Error message (AKA source) is combined from the DAO-dll-call, and, where available, additional input-parameters. The DAO Error codes are always defined as:

-1 Handle not initialized

-2 Error

XOn Software GmbH


Connector Pane

DIGetDatabaseInfo


Controls and Indicators

cdlrn

DIHandle in

c1di32

XLColl

cclst

error in (no error)

The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

idlrn

DIHandle out

iclst

DatabaseInfo

iclst

error out

The error out cluster passes error or warning information out of a VI to be used by other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.


DINewDI

This function is the constructor of the DatabaseInfo Handle.

Parameters

DIHandle - Handle of the DatabaseInfo (Output)

error in - a cluster describing the error state before executing the current VI. If the error state is TRUE, the VI will just pass the error cluster and incoming handle, no operation will happen.

error out - a cluster that describes the error status after this VI executes. If the error status is TRUE, an error occured. The DAO Error message (AKA source) is combined from the DAO-dll-call, and, where available, additional input-parameters. The DAO Error codes are always defined as:

-1 Handle not initialized

-2 Error

XOn Software GmbH


Connector Pane

DINewDI


Controls and Indicators

cclst

error in (no error)

The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

idlrn

DIHandle

iclst

error out

The error out cluster passes error or warning information out of a VI to be used by other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.