Consultor Eletrônico



Kbase P21300: Error 6491 when running a smart window from within a transa
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/15/2003
Status: Unverified

FACT(s) (Environment):

Windows

FACT(s) (Environment):

Progress 9.x

SYMPTOM(s):

**<widget id> does not fit in parent <parent widget id>. (6491)

Executing code running a smart window with smart panels using the code:

FIND FIRST SomeTableName EXCLUSIVE-LOCK.
Run SmartWindowWithSmartPanels.w.

CAUSE:

There are two coding design ( not syntax) errors that, when combined, could cause the visualization of the smart panels to generate a series of 6491 warning errors:

1. Launching a smart window from within a transaction.
2. Incorrectly launching the smart window non-persistently.

FIX:

1. End the transaction before launching the smart window. And

2. Run the smart window persistently.

DO TRANSACTION:
FIND FIRST SomeTableName EXCLUSIVE-LOCK.
END.

RUN SmartWindowWithSmartPanels.w PERSISTENT.