Consultor Eletrônico



Kbase P87722: Can you suppress the 2659 message when checking if the database is connected using the connected fun
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/24/2010
Status: Unverified

SYMPTOM(s):

Can you suppress the 2659 message when checking if the database is connected using the connected function and the connected database was shutdown after it was connected

Code that produces the error:
If not Connected("DB") then
connect DB no-error.

FACT(s) (Environment):

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

CAUSE:

2659 error is thrown by the Connected function

FIX:

Flush out the error by using a dummy connected function with no-error. Example:
Connected("DB") no-error.
if not Connected("DB") then
connect DB no-error.