patrickmcdiver
Registered User.
- Local time
- Today, 18:45
- Joined
- Jan 7, 2010
- Messages
- 39
I have a subform in a form and I want it to remain closed or not visible until opened by a command button. How do I do this.
Then in the code behind your command button use
Me.SubFormControlName.Visible = True.
[B]Me.SubFormControlName.Refresh[/B]
No argument from me - the fact that you can convert Macros to VBA but not vice versa should tell you something!In my opinion, one should stick to either VBA or macros. Mixing the two is possible, but can make maintenance difficult. VBA gives much better control overall in Access projects. I haven't come across anything in the macro editor which can't be done in VBA (... now I await the cacophony from members telling me I'm wrong!)
...In my opinion, one should stick to either VBA or macros...VBA gives much better control overall in Access projects. I haven't come across anything in the macro editor which can't be done in VBA