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

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

Recommended Posts

  • Newbies
Posted

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.

Posted

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

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