Consultor Eletrônico



Kbase P151984: How to access the number of licensed database users in 4GL / ABL
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   01/09/2009
Status: Unverified

GOAL:

How to access the number of licensed database users in 4GL / ABL

GOAL:

How to determine the number of licensed database users at run time

GOAL:

How to tell how many users the database is licensed for using the License Management Virtual System Table

GOAL:

How to find the number of licensed database users using the _License VST

FACT(s) (Environment):

All Supported Operating Systems
Progress 9.x
OpenEdge 10.x

FIX:

To obtain the number of licensed users of a connected database in 4GL / ABL code, query the _License (License Management) Virtual System Table. The field containing the number of valid license users is _Lic-ValidUsers. For example:

FIND FIRST _License.
DISPLAY _Lic-ValidUsers.