FMPRO-L Archives

May 2010, Week 5

FMPRO-L@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show HTML Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Nicholas Geti <[log in to unmask]>
Reply To:
FileMaker Pro Discussions <[log in to unmask]>
Date:
Mon, 31 May 2010 15:57:42 -0400
Content-Type:
multipart/alternative
Parts/Attachments:
text/plain (543 bytes) , text/html (1466 bytes)
If I cancel a print job using the "Continue/Cancel" options in the left "Status Area" panel, none of the script statement after "Print" execute. I would like to restore the previous layout.

Here is the script:

Go to Layout ("Summary Report A")
Sort(Restore)
Set Error Capture [ON]
Print Setup [(Restore, No dialog])
Enter Preview Mode [Pause]
Print[]

#If the user cancels the print, the script never gets here. I suspect the cancel has
#Exited the script. The program stays in Layout "Summary Report A".
Go to Layout ["Full List View"] 
Enter Browse Mode[]


ATOM RSS1 RSS2