The Monthly Sale Report Scripted ( Part 5 )

From Dwayne Wright
www.dwaynewright.com

This is a series of discussions on the breakdown of a monthly sales report. This report is designed to be able to be reused in just about any sales report situation. The total script itself can be found at ...

/2007/10/monthly-sale-report-scripted-part-1.html

=========================
ABOUT PRINTING THE REPORT OR NOT
=========================

#PRINT OR NO PRINT
Show Custom Dialog [ Title: "PRINT REPORT?"; Message: "Do you want to print this report?"; Buttons: “Yes”, “No” ]

If [ Get(LastMessageChoice) = 1 ]

Print Setup [ Orientation: Portrait; Paper size: 8.5" x 11" ] [ Restore; No dialog ]

Print [ Records being browsed; All Pages; Orientation: Portrait; Paper size: 8.5" x 11" ]
[ Restore ]

Else

End If

Close Window [ Current Window ]

Halt Script

============================
ABOUT WHAT THE SCRIPT IS DOING ABOVE
============================
=
More info about the author and FileMaker in general, contact me at info@dwaynewright.com.

© 2007 - Dwayne Wright - dwaynewright.com

The material on this document is offered AS IS. There is NO REPRESENTATION OR WARRANTY, expressed or implied, nor does any other contributor to this document. WARRANTIES OF MERCHANT ABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE EXPRESSLY DISCLAIMED. Consequential and incidental damages are expressly excluded. FileMaker Pro is the registered trademark of FileMaker Inc.