Show Custom Dialog would seem the simplest approach here. That option gives you up to three buttons, so you can set up the buttons to read Email, Fax and Cancel if you want. Get ( LastMessageChoice ) will return the number of the button clicked.
And it's possible to use a single layout for both Email and Fax formats also...
Thanks <Get ( LastMessageChoice )> was the piece of information that I needed. I agree that a custom dialogue box would be best.
How would you suggest I "use a single layout for both Email and Fax formats also..."?
There are several options.
If your report is always 2 pages plus the fax cover page, create a TitleHeader layout part and make it one page tall. Put your fax cover page inside this new layout part. When you save as PDF, specify pages 2-3 for email and pages 1-3 for fax. (After adding the Save Records As PDF script step, click specify options, then click the options button in this dialog to get to a dialog where you can specify a page range.)
If the number of possible pages varies, then a different approach can be concocted that places the cover page inside a sub summary part that sorts on a field for which all records have the same value. To show the cover page, you sort on this field, to hide it you sort with a sort order that does not include this field.