Consultor Eletrônico



Kbase P6820: How to check using 4GL if the 4GL access to the VST tables i
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/2/2003
Status: Unverified

GOAL:

How to programmatically determine whether access to the database Virtual System Tables (VST) is enabled or not.

FACT(s) (Environment):

Progress 8.2x

FACT(s) (Environment):

Progress 8.3x

FIX:

Use 4GL code similar to:

FIND FIRST _File WHERE _File-Name = "_Connect" NO-ERROR.
IF AVAILABLE(_File) THEN
MESSAGE "4GL access to VST enabled"
VIEW-AS ALERT-BOX INFO BUTTONS OK.
ELSE
MESSAGE "4GL access to VST is currently disabled"
VIEW-AS ALERT-BOX INFO BUTTONS OK.