Consultor Eletrônico



Kbase P127740: ABL/4GL: NEXT, PREV buttons do not work as expected?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/19/2007
Status: Unverified

FACT(s) (Environment):

All Supported Operating Systems
Progress 8.x
Progress 9.x
OpenEdge 10.x
OpenEdge Category: Language (4GL/ABL)

SYMPTOM(s):

ABL/4GL: NEXT, PREV buttons do not work as expected?

Frame has a set of table fields to be displayed when the user navigates the records by choosing the buttons.

No navigation occurs as a result of the user choosing a button.

Button triggers include the statement:
DISPLAY {&FIELDS-IN-QUERY-{&FRAME-NAME}} WITH FRAME {&FRAME-NAME}.

CAUSE:

The referenced preprocessor: {&FIELDS-IN-QUERY-{&FRAME-NAME}} WITH FRAME {&FRAME-NAME} is not defined in the code.

FIX:

Either define the preprocessor. For example:
&Scoped-define FIELDS-IN-QUERY-DEFAULT-FRAME Customer.CustNum Customer.Name.
Or explicitly list the fields in the DISPLAY statement. For example:
DISPLAY Customer.CustNum Customer.Name WITH FRAME DEFAULT-FRAME.