Click or drag to resize

DbDriver Function

Return the default RDD for the application.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.08
Syntax
 FUNCTION DbDriver() AS STRING
View Source

Return Value

Type: String
The name of the RDD that will be used to activate and manage applications when no driver is explicitly specified.  If this RDD is not available to the application, the call has no effect.
Remarks
To set the default RDD, use RDDSetDefault().
Examples
The following example checks the default RDD to report the default extension for the index files:
X#
IF DBDriver() == "DBFMDX"
        QOut(".MDX extension")
ENDIF
See Also