Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Sometimes when my users switch to a preview of a report they have their page setup wrong (landscape as opposed to portrait) and it looks weird! They think something is wrong. Is there some way through scripting to force the page setup to always be portrait?

Posted

If you preview in a script, be sure to add the PageSetup(restore) script step before the preview. This step is one of those in which you can't explicitly specify the page setup, it "remembers" the page setup from the later of 1) when the script was created or 2) when you exited the script and in the exit dialog specified that the page setup should be updated to the current setup.

-bd

Posted

And, in case this is happening, Filemaker remembers a separate page setup for Mac and Windows in the script, so if you operate the solution on a different platform, you will need to re-apply the page setup.

The easiest way around this is to create 2 scripts which just use the page setup step - call them PageSetup Portrait and PageSetup Landscape, for example. Then you can call these as sub-scripts and if you change platforms, you only have to make adjustments to a couple of scripts - instead of hundreds...

This topic is 8184 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.