May 20, 200817 yr Newbies 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.
May 20, 200817 yr 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
May 20, 200817 yr Author Newbies Thank you for your reply. Just another question: and if the answer is "no" can the script continue to print the remaining forms?
May 20, 200817 yr 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.
Create an account or sign in to comment