Consultor Eletrônico



Kbase 15455: UIB Generated Code Running Multiple Paged Report
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/10/2008
Status: Verified

FACT(s) (Environment):

Results

SYMPTOM(s):

Running a multipage report from a button on a window.

Pages flash by on the screen with no chance to pause at the bottom of each page.

4GL Reports

CAUSE:

If code is created in the UIB in which pressing a button will generate a multiple-page report, changes must be made to the UIB code to allow a pause at the bottom of each page.

FIX:

-- Version 7 and Version 8 standard window:

In the UIB generated code, two lines should be commented out to allow
a pause and to give a place for "Press space bar to continue." to be
displayed.

Comment out the following lines:

PAUSE 0 BEFORE-HIDE
STATUS-AREA = NO (In the create window statement)

-- Version 8 with SmartWindows:

In local-initialize module; add the following 2 lines before the
RUN DISPATCH statement.

PAUSE BEFORE-HIDE.
W-win:status-area = yes.