Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

printing all layouts

Featured Replies

hi all, was curious as to know if it is possible in FM5.5 to print a copy of ALL layouts at one time. i have a start menu with form fields and those form fields correspond with various documents throughout my dB. so all those fields get updated by that first start menu. then i would like to have all the layouts printed, easily. any thoughts? cheers.

I can imagine something like loop through layouts and print with script, maybe...

Yes, I was thinking the same thing.

Try this and see if it will work:

1. Create a field, global number - LayoutNum

2. Create a script:

Set Field["LayoutNum", "1"]

Loop

Go to Layout [LayoutNum] - select Layout number from field

Print[No Dialog]

Set Field ["LayoutNum" , "LayoutNum + 1"]

Exit Loop If ["LayoutNum > Status(CurrentLayoutCount)"]

End Loop

Ken

  • Author

thank ya all, i will try this asap. please update if you have any more solutions.

cheers!

Oh yeah.

Make sure that you have printing set to the current record, or you will get a layout print for every record in the file.

Ken

  • 1 month later...

this works great....

Set Field [h_layoutNumber", "1"]

Loop

Exit Loop If ["h_layoutNumber > 100"]

Set Field ["h_layoutNumber", "h_layoutNumber + 1"]

Go to Layout ["h_layoutNumber"]

Print [No dialog]

End Loop

h_layoutNumber is a global field set up for the purpose of this script.

100 is an arbitrary number used to represent the number of layouts you have.

If you have related files, this script will have to be set up in each of them and called from a master print script.

Good luck with your printing!

Or, to be more specific and allow for more than 100 layouts or the loop to exit before 100 is reached:

Set Field ["h_layoutNumber", "1"]

Set Field ["h_numberoflayouts", "PatternCount( LayoutIDs( Status(CurrentFileName) ), "

Ok, so my solution wasn't cool enough for you guys, huh?

grin.gif

Actually, I didn't notice it this time around.

Except for using Status(CurrentLayoutCount) in the loop, instead of setting a global with this number before entering the loop and not forcing it to recalculate during each iteration, I would say it is cool enough for me. cool.gif

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.