f2s_driver_ini_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_ini_path of {DriverID} to {variable}
Parameter |
Description |
|---|---|
DriverID |
ID of the loaded Flex2SQL driver to query. Use
|
variable |
String variable that receives the full path of the driver’s selected |
Description¶
Returns the full path of the driver’s selected mertech.ini file. The driver must be loaded.
This is a driver-level attribute; it does not take a file or field number.
The driver uses the same file-resolution rules as it uses when loading
mertech.ini settings. If no configuration file is found, the returned
string is empty. This attribute reports the path; it does not change settings
or reload the configuration file.
Example¶
With the intended Flex2SQL driver already active:
String sIniPath
Get_Attribute f2s_driver_ini_path of _f2s_ActiveDriverID to sIniPath
Showln sIniPath