Consultor Eletrônico



Kbase P47274: RCODE-INFO:DB-REFERENCES displays a blank value.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/17/2004
Status: Unverified

FACT(s) (Environment):

Progress 9.1C

FACT(s) (Environment):

Sun Solaris SPARC

SYMPTOM(s):

RCODE-INFO:FILE-NAME = "SomeProcedure.r".
MESSAGE RCODE-INFO:DB-REFERENCES
VIEW-AS ALERT-BOX INFO BUTTONS OK. Displays a blank message box.

The procedure being compiled requires that a database connection is made, however messaging out RCODE-INFO:DB-REFERENCES displays a blank.

RCODE-INFO:DB-REFERENCES displays blank values for certain procedures that are accessing database fields instead of displaying the name of the database you were connected to.

CAUSE:

A variable defined in a procedure using the LIKE database field option requires you to be connected to a database when Compile Check syntax is invoked. It requires this because it needs access to the schema. Although you need to be connected to the database schema to compile the procedure, it does not access the
data in the database itself, thus the DB-REFERENCES attribute returns a blank value.

FIX:

The RCODE-INFO:DB-REFERENCES is behaving as expected. To display the name of the database, the procedure must access the data in the database at runtime.