Referencing Package Variables

From: calderproj <calderproj_at_dial.pipex.com>
Date: 1998/01/14
Message-ID: <34BD716A.6D4F_at_dial.pipex.com>#1/1


[Quoted] [Quoted] I am currently using Forms 4.5. I am trying to get away from using GLOBAL variables by using variables declared in a Package Spec.

Package Security IS

  g_fred NUMBER;

END Security;

The program Unit contains the following

  Security.g_fred := 3;

When trying to reference the variable in the Program Unit in Forms I get message 'Component g_fred must be declared'. Why?

Thanks in Anticipation

PRO Received on Wed Jan 14 1998 - 00:00:00 CET

Original text of this message