f2s_license_company_name

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_license_company_name 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 company name recorded in the specified driver’s license.

Description

Returns the company name recorded in the specified driver’s license. The driver must be loaded. This is a driver-level attribute; it does not take a file or field number.

The name identifies the license holder, not the database login or a company stored in an application table. If the license information cannot be retrieved, the returned string is empty.

Example

With the intended Flex2SQL driver already active:

String sCompanyName

Get_Attribute f2s_license_company_name of _f2s_ActiveDriverID to sCompanyName
Showln sCompanyName

Classic Edition Equivalents