f2s_license_days_remaining¶
Applies to: Oracle, MS SQL, MySql/MariaDB, PostgreSQL Drivers
Syntax¶
**There is no set_attribute. This attribute is read only.**
get_attribute f2s_license_days_remaining of {DriverID} to {variable}
Parameter |
Description |
---|---|
DriverID |
The ID of the driver for which this applies. In most cases, you should use _f2s_ActiveDriverID. |
variable |
Integer variable to hold the number of license days remaining. |
Description¶
Getting this attribute allows you to get the number of days remaining on the license.
Examples¶
get_attribute
integer iTime
string sMessage
get_attribute f2s_license_days_remaining to iTime
If (iTime<0) move "Your license has expired." to sMessage
Else If (iTime>0) move "(SFormat("Your license will expire in %1 days.", iTime))
Set_attribute f2s_license_expiration_message of _f2s_ActiveDriverId to sMessage