f2s_driver_path

Applies to: Oracle, MS SQL, MySQL/MariaDB, PostgreSQL Drivers

Added in Flex2SQL 18.1.

Syntax

This attribute is read only. There is no Set_Attribute form.

Get_Attribute f2s_driver_path of {DriverID} to {variable}

Parameter

Description

DriverID

ID of the loaded Flex2SQL driver to query. Use _f2s_ActiveDriverID for the active driver.

variable

String variable that receives the full path, including the filename, of the loaded driver module.

Description

Returns the full path, including the filename, of the loaded driver module. The driver must be loaded. This is a driver-level attribute; it does not take a file or field number.

Use this attribute to identify which driver binary the application has loaded. It returns the driver module’s path, not the license or configuration-file path.

Example

With the intended Flex2SQL driver already active:

String sDriverPath

Get_Attribute f2s_driver_path of _f2s_ActiveDriverID to sDriverPath
Showln sDriverPath