Here's the deal. Off the menu the user selects an option that prints a series of related reports. They are given the option to route to the printer or to preview on the screen.
This is done in a BASIC+ procedure which performs a series of RUN_REPORT(
,RLIST Statement) calls. The problem is a RUN_REPORT call "pre-empts" the previous one in preview mode. Thus the user only really gets to view the last run_report. I tried putting a 'ok' MSG call between each RUN_REPORT but since the MSG is modal you cannot do anything with the Print Preview window. Can the print preview window be opened modal from RUN_REPORT (or any other means)? </QUOTE> —- === At 13 OCT 2004 11:59AM Sean FitzSimons wrote: === <QUOTE>Warren, The name of the preview window is VSPRINTER. You will need to check for the existence of this window prior to running each RUN_REPORT. If the window exists, hold off running. If the window doesn't exist run it. This requires that the report be displayed then the user needs to close the window before the next report is displayed. Sean </QUOTE> —- === At 13 OCT 2004 12:06PM Warren Auyong wrote: === <QUOTE>Great, thanks! </QUOTE> —- === At 13 OCT 2004 05:04PM Warren Auyong wrote: === <QUOTE>Okay, using UTILITY('OBJECTLIST',
,'WINDOW') I put a loop while 'VSPRINTER' is in the list before the next RUN_REPORT statement.When I do this I cannot get operate any of the control on the Preview window.
I tried adding a call to DELAY() in the loop but this made no difference.
Try a Yield() call instead of delay.
Tim
I was just thinking that this morning :)
Thanks!