July 2, 200223 yr 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?
July 2, 200223 yr 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
July 2, 200223 yr 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...
Create an account or sign in to comment