Printing different Layouts based on field information
Hi. I am trying to write a script that would print a layout based on the number of lines in a certain field. I have a field named No of lines. I have 5 different layouts based on the number of lines that appear on the form 1-5. In other words, i would like my script to do this: If the number 3 appears in the No of lines field it would print Layout 3. If the number 4 appears it would print Layout 4, etc. Any help on this would be most appreciated and thanks in advance for your help.