Preview Reports Befor printing in FM 6.0

  • Follow


I have a menu where you can print reports from. I want before printing a 
report to preview it first and then to print it or not.

The enter_preview_mode script step does the job but when the user clicks the 
cancel button the script is terinating.

The functionality I want is:

-if the user click the continue button to print rha report (ok with this) 
and
-if the user click the cancel button return to the menu without peinting the 
report

any HELP ? 


0
Reply Nikos 2/16/2005 4:18:16 PM

We get around this by not showing the 'cancel' button on this screen. 
You can do this by adding the 'Allow User Abort[Off]' step at the 
beginning of your script.  Once the user clicks 'continue', they are 
presented with the normal print dialog, at which point they can select 
either 'print' or 'cancel'.  Either way, it gives my script full control 
over what happens.

Nikos Hatzigiannakis wrote:
> I have a menu where you can print reports from. I want before printing a 
> report to preview it first and then to print it or not.
> 
> The enter_preview_mode script step does the job but when the user clicks the 
> cancel button the script is terinating.
> 
> The functionality I want is:
> 
> -if the user click the continue button to print rha report (ok with this) 
> and
> -if the user click the cancel button return to the menu without peinting the 
> report
> 
> any HELP ? 
> 
> 

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Howard Schlossberg              (818) 883-2846
FM Pro Solutions       Los Angeles, California

FileMaker 7 Certified Developer
Associate Member, FileMaker Solutions Alliance
0
Reply Howard 2/16/2005 4:23:39 PM


1 Replies
179 Views

(page loaded in 0.052 seconds)

Similiar Articles:













7/21/2012 10:08:56 PM


Reply: