I have spent hours wrestling with syntax, and getting nowhere. Any comments gratefully received.
In Macro
Open Form
GotoControl FAP Name of subform
Condition IsNull([Forms]![FCDPage4BS].[FAP].[Form].[APFirstchangeamt] SetProperty [Forms]![FCDPage4BS].[FAP] or FAP or 1st option with .[Form] at the end
It seems to understand the condition, but not the SetProperty.
Failing making the above work, I have a button on the main form for each subform, which the user can click on, and the subform becomes invisible.
I cannot find a way of saying go to the button and click on it, in the macro. Tried Send keys Enter and Click, but not working. I'm opening the database in Access 2007.
I have a klugey workaround that simply opens the form last when printing a set of five and so the user can make each subform invisible if they are not needed, but .........