If [ Not IsEmpty ( FilterValues ( YourTable::CheckboxField ; "Report 1" ) ) //"Report 1" check was selected ]
Go to Layout [ "Report 1"
Else If [ Not IsEmpty ( FilterValues ( YourTable::CheckboxField ; "Report 2" ) ) //"Report 2" check was selected ]
And so forth...
Thank you! This is very helpful, but I'm afraid I can't get it to work with multiple selections. Once it opens and prints the first one, the script ends. I can't seem to get it to print one layout, then return to the next step in the script, and then print a different layout. Is there something I need to insert to make this happen? I am opening each layout in a separate window, but even if I turn that off, it only prints one layout at a time, whichever is first on the selected items.
I think I figured it out (by reading other related posts PhilMod wrote). I changed to if/end if instead of ElseIf, and added a "close window" step after each print. Seems to work now!