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

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

Recommended Posts

  • Newbies
Posted

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

Posted

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.

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