Posted by Jonathan Sacks on August 05, 2008 at 08:53:06:
I wrote a small program that allows the report generator (or any program) to put a message (report name) on the Windows Title Bar and clear it. This is handy to communicate the report running to the user:
!s wtitle.ibs,xxx
!o wtitle,xxx
!l txx,e
!r qmonitorLENGTH 252 & LOCAL WindowsTitle$
GetCaption: FORMAT WindowsTitle$
INPUT (#,GetCaption)
IF STRIP(WindowsTitle$) = "#CLEAR" then WindowsTitle$=""
PRINT (0) (Set Window Caption = WindowsTitle$,0)
EXIT
Simply place the command before the REPORT command: ENTER WTITLE,,[MESSAGE] in your report spec and your done.
If you want to clear the title line at the end of the report:
ENTER WTITLE,,#CLEAR
JSACKS<<
Lead, follow or get out of the way!
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.