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 a found set using Scriptmaker

Featured Replies

  • Newbies

Dear FM Forums,

I am a small level above notice to FMP with a basic understanding of scriptmaking.

I have a question about printing a found set of records. I am trying to automate this task with a button. (as apposed to finding set, goto list and print)

I have a radio button field EX:

O Blue

O Red

O NA

Can I set a script that will find all Red, Sort then print. I can only seem to set the script to find last criteria.

any help would be greatly appreciated.

enter find mode (pause)

sort(no dialog, )

print

^ that is if you want to choose you color you do it in the pause after find mode choose your color then hit enter

or you could have a button for each color

enter find mode (no pause)

set field (colors, get(scriptparameter))

sort (no dialog, )

print

you would have to have a button for every color and set the button to run that script with the parameter set to the color that the button is for, this of course wouldn't be good if you have like 10 colors to choose from cause then you would have 10 buttons junking up your layout, but if htere were two like you example the second script i gave you would work better

hope that helps

  • Author
  • Newbies

Thanks the second option is what i was looking for. Once again you guys are the best.

so i assume it all worked?

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.