latex88
Registered User.
- Local time
- Today, 15:40
- Joined
- Jul 10, 2003
- Messages
- 198
I have a main form with many subforms in it. One of the subforms has many buttons. Depending which button is clicked, the caption of the button and dlookup function will determine which subform within the main form will become visible. How do I reference the subform based on a variable? The code looks something like below, except the syntax referencing the subform is not correct.
Dim strSubForm as string
strSubForm = dlookup(............................)
Me.strSubForm.visible = True
Dim strSubForm as string
strSubForm = dlookup(............................)
Me.strSubForm.visible = True