At 12:38 PM 7/26/2009, Tom Frederick wrote:
Razzak, Thanks for the technique. It works great on the faster machines and (more importantly) does exactly what I wanted on the old slow computers on our LAN. Using the action options with reports is something I had never used before. The technique works really well with static icons. Animation, like the hourglass, stalls until the report process is completed, but that's OK, just means more playing around to get that to work. Static icons will work just fine.
Tom, Here's one more technique to add to your collection using the "GAUGE" option of the PAUSE command. -- Step 01: While in report designer, use the following code as "Before Generate..." action. Report Designer | Main Menu | Report | Actions | Before Generate... -- Start -- Report: Before Generate EEP -- Retrieve Report Name GETPROPERTY REPORT 'Report_Name' vReportName -- Build Pause String CLS SET VAR vPauseMessage = + ((CHAR(013))&'Preparing Report:'&.vReportName+(CHAR(009))+(CHAR(013))+ + (CHAR(013))+' Please wait ...') PAUSE 3 USING .vPauseMessage + CAPTION ' pause caption here ... ' + ICON APP + OPTION GAUGE_VISIBLE ON + |GAUGE_COLOR 2708091 + |GAUGE_INTERVAL 10 + |MESSAGE_FONT_NAME VERDANA + |MESSAGE_FONT_SIZE 10 + |MESSAGE_FONT_COLOR RED + |THEMENAME R:BASE Rocks! RETURN -- Step 02: Use the following code as "After Generate..." action. -- Start CLS CLEAR VARIABLES vReportName,vPauseMessage RETURN -- End Adjust the GAUGE_COLOR and GAUGE_INTERVAL as you see fit. This is the R:BASE you have always wanted! Very Best R:egards, Razzak.

