Click or drag to resize

DbDriver Function

X#
Return the default RDD for the application.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax
 FUNCTION DbDriver() AS STRING
Request Example 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#
1IF DBDriver() == "DBFMDX"
2    QOut(".MDX extension")
3ENDIF
See Also