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

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

Recommended Posts

  • Newbies
Posted

Hello Everybody,

I'm new to this forum and I'm also new to filemaker. I'm trying to create a script that will do the following: When I print, lets say 3 forms, I want that on one of the forms to be printed if a field named emergency is selected "Yes". Is this possible? Help is appreciated. Thank you in advance.

Posted

Go to layout [layout 1]

page setup [restore, no dialog]

print [restore, no dialog]

go to layout [layout 2]

page setup [restore, no dialog]

print [restore, no dialog]

if( table::emergency = "Yes" )

go to layout [layout 3]

page setup [restore, no dialog]

print [restore, no dialog]

end if

  • Newbies
Posted

Thank you for your reply.

Just another question: and if the answer is "no" can the script continue to print the remaining forms?

Posted

You only place steps inside of IF statements if you want specific criteria to determine wether or not something should happen or not.

With how the example is structured above, if the answer is "No" the only form that will not print is the form that is encapsulated within the IF statement. The other 2 forms will always print since they do not have an IF statement surrounding them to make a decision on wether or not they should print.

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