At 08:44 PM 6/4/2005, Robert Rugilo wrote:

The report works OK and it produces the file, however the print dialog
box appears briefly on screen leaving a "HOLE" on the pause dialog.


Robert,

Did you know that you can achieve the same goal by using the following
code, for example, as "Before Generate" EEP in Report Designer (7.5)?

Here's how:

Example:

Place the following code as embedded "Before Generate" EEP:

Report Designer | Main Menu | Report | Actions | Before Generate

-- start
 CLS
 SET VAR vMsg = +
 ((CHAR(009))&'Preparing Report: ReportName'+(CHAR(009))+(CHAR(013))+ +
 (CHAR(013)) + +
 (CHAR(009))&'Please Wait ...'+(CHAR(009)))
 PAUSE 3 USING .vMsg +
 CAPTION '  Your report caption and more stuff here ...' +
 ICON APP +
 OPTION BACK_COLOR WHITE +
 |MESSAGE_COLOR WHITE +
 |MESSAGE_FONT_COLOR GREEN
 RETURN
-- end

Place the following code as embedded "After Generate" EEP:

Report Designer | Main Menu | Report | Actions | After Generate

-- start
 CLS
 RETURN
-- end


Notes:

Before Generate PAUSE message will stay on the top of the report
until the entire report is actually generated.

After Generate EEP will clear the PAUSE 3 message when the report
is actually generated.

Using this cool feature of R:BASE 7.5 Report Designer, you will
never have to worry about anything.

For sample reports, take a look at the implementation of such
technique in RBG75 RRBYW10.

Database: RRBYW10
Reports:
CustContInvoices (Sub-Report based on four tables)
CustomerContacts (Sub-Report based on two tables)

Very Best R:egards,

Razzak.

Reply via email to