Consultor Eletrônico



Kbase 15895: Db must be connected before running procedure - Unknown db
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
Db must be connected before running procedure - Unknown db

"Unknown database name (855)".
"Unknown or ambiguous table (545)".

The database must be connected BEFORE you run a procedure
that references it. There is a good example of this in
the Language Reference manual under Connect.

If you want to connect using the 4GL, you need to split
your code up into 2 procedures, proc1.p and proc2.p.
Proc1.p has 2 lines: connect <dbname> and run "proc2.p".
Proc2.p contains the main body of code.


Progress Software Technical Support Note # 15895