Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 8368 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

While in preview mode I would like to have a print button included with the continue and cancel buttons.

I would like to print the report and still be able to look at it on screen...

Posted

Mike:

I would suggest staying in Browse mode until you print. When you hit the Print button, have a script take you into Preview Mode, print, then go back to Browse mode.

Would that work for you?

Ken

Posted

Or... go into preview mode, use the Copy command to copy the previewed layout, paset the image into a global field, then display the global field on a layout with the buttons in browse mode. The result is a true representation of the page previewed, but you're in browse mode so you can use buttons.

The only shortcoming is that other pages are not directly accessible: this can be solved by scripting a return to preview, go to next page, copy image, paste into global field, return to faux preview layout.

Posted

quote:

Originally posted by Michael Huddleston:

Actually Ken, I've seen DB's that when they went to a report in prview mode they also had a print button available...

Most likely they were not really in Preview mode. You were simply on a printable layout. Buttons do not work in Preview mode.

There are many ways to fake it, but I still find the best way is to put the user in Preview mode with Allow User Abort [off] and showing them the status bar with a paused script. They can then scroll the pages and press the Continue button or hit enter. I then prompt them with a message asking if they want to print and if so bring up the print dialog.

The above method gives the user all the flexability they will ever need without really giving them control over the application.

This topic is 8368 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.