G
Guest
I am using Access 2000 and I want to hide/show a subform [PropandContractsbf]
based on a yes/no box "ExhB?". "ExhB?" is located on the main form
[PropandContract].
I have an event "AfterUpdate" set on the "ExhB" control to refer to the
"Hide/Show" macro. This macro is as follows:
Condition: [Forms]![PropandContract]![ExhB?]=Yes; Action: SetValue; Item:
[Forms]![PropandContractsbf].[Visible]; Expression: Yes
Condition: [Forms]![PropandContract]![ExhB?]=Yes; Action: SetValue; Item:
[Forms]![PropandContractsbf].[Visible]; Expression: Yes
I have this main form located on another form where there are a total of 6
tabs including the one this form [PropandContract] is located.
When I check "ExhB?" I get a message "Microsoft Access cannot find the form
[PropandContract] referred to in a macro expression or Visual Basic code".
I have used something similar in another database and it worked fine but I
can't figure this one out.
Thanks for your help.
based on a yes/no box "ExhB?". "ExhB?" is located on the main form
[PropandContract].
I have an event "AfterUpdate" set on the "ExhB" control to refer to the
"Hide/Show" macro. This macro is as follows:
Condition: [Forms]![PropandContract]![ExhB?]=Yes; Action: SetValue; Item:
[Forms]![PropandContractsbf].[Visible]; Expression: Yes
Condition: [Forms]![PropandContract]![ExhB?]=Yes; Action: SetValue; Item:
[Forms]![PropandContractsbf].[Visible]; Expression: Yes
I have this main form located on another form where there are a total of 6
tabs including the one this form [PropandContract] is located.
When I check "ExhB?" I get a message "Microsoft Access cannot find the form
[PropandContract] referred to in a macro expression or Visual Basic code".
I have used something similar in another database and it worked fine but I
can't figure this one out.
Thanks for your help.