When a user clicks the "Exit Preview" button, is there a way to define which layout they go to? (I want it to be a different layout than the one they are currently previewing.)
You have a layout script trigger: OnModeExit and you can select "Preview" as the mode being exited.
This is working, Phil, but it raises another issue. The "original" layout has one record "up" in the body section. The layout we're previewing has three records "up" in the body section. So the record you're viewing when you go to "Preview" isn't shown automatically on the landing page; you have to scroll through the records to find it. (In other words, if there are a total of 300 records in the table, and there are 3-up on a page when previewed, there are only 100 pages shown in the Preview.
Is there a way for me to show the "current" record when we go to the Preview Pages?
Limit your found set to just the records you want to see in preview. Preview mode assumes that you will print with "Records being browsed" and so previews all the records in your found set starting with the first record. If you perform a find or otherwise manipulate your found set to only contain the records you want to see in Preview, then you'll get what you want here.
Retrieving data ...