I have a VBA macro that is giving me some trouble. Here's a pseudocode snippet:
I'm trying to look at a particular control on a subform to the current active form, and for each record showing on the subform, append the value of that control to a string that I will use later.
How do I refer to the control on the subform?
All help is appreciated. Thanks
Steve
Code:
Dim x
Dim strServiceDesc as String
For Each x In <control "desc" on a continuous form subform>
strServiceDesc = strServiceDesc & x & "; "
Next x
I'm trying to look at a particular control on a subform to the current active form, and for each record showing on the subform, append the value of that control to a string that I will use later.
How do I refer to the control on the subform?
All help is appreciated. Thanks
Steve