Using Button to Reveal Hidden Subform

Avatar

Avatar

JennyAnnRowe-ou

Avatar

JennyAnnRowe-ou

JennyAnnRowe-ou

14-06-2011

I want my form users to click on a button to reveal a hidden subform, however, the if/else script that I normally use on other forms to reveal hidden objects and subforms is not working here.  Do buttons not support that kind of script? I just don't see what the problem could be otherwise.

I'd be more than happy to send the form to anyone who wants to take a look at it.

Thanks in advance,

Jenny

View Entire Topic

Avatar

Avatar

MorisTM

Avatar

MorisTM

MorisTM

14-06-2011

Good decision going for the checkbox as it will provide you the ability to show/hide that section via the on/off values.

The button.rawValue will not return you what you are expecting. You will need to interrogate the presence property instead and then maybe change the button caption value to indicate its state (on/off).

Have fun!