Consultor Eletrônico



Kbase P22030: Dynamics: Display of fields in dynamic viewer on second tab, does not work properly.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   24/03/2010
Status: Unverified

SYMPTOM(s):

Dynamics: Display of fields in dynamic viewer on second tab, does not work properly.

Initial DisplayFields gets the input parameter 'ColValues' contains a '?'

Scrolling down the SmartDataBrowse, input parameter 'ColValues' is filled up with the correct values.

FACT(s) (Environment):

Dynamics 2.0A

CAUSE:

The exact cause is unknown at the time of this writing

FIX:

Following modification in the 'displayFields' solves the problem:
DEFINE INPUT PARAMETER ipcColValues AS CHARACTER NO-UNDO.

DEFINE VARIABLE hDataSource AS HANDLE NO-UNDO.

{get datasource hDataSource}.

IF ipcCoLValues = ? AND VALID-HANDLE(hDataSource)
THEN DO:
DYNAMIC-FUNCTION('openQuery':U IN hDataSource ).
RETURN.
END.

RUN SUPER(INPUT ipcColValues).