May 21, 200421 yr Newbies Hi there. I can't seem to figure out how to add a conditional statement to a layout which will allow the expansion of the body if a certain boolean variable is toggled. Specifically, this is for a school's database in which certain students need a double address (for report cards, etc). If "Double Report" is set as "Yes" then I want the body section to be twice as large and contain the second address. I have a feeling this may be impossible. Any help would be appreciated! Thanks, Will
May 21, 200421 yr Welcome Will! It's not possible to dynamically expand the size of a layout part. Instead you can have the body set to the double report size, and use sliding parts to slide fields up and Reduce the size of the enclosing part. This will work if there is no data in the fields you select as sliding fields. These sliding fields only work in Preview mode or in print outs. For your case where you have populated fields, but you still want to control whether or not they show, you would need Address 2 calculation fields that either have data or are empty, based on the user's selection. An easier way to do this is to use two layouts, one for the single addess, one for the double address.
Create an account or sign in to comment