How to get subform control name
Say you have FormA inserted several times on FormB as subform, and you want to know subform control name from button click event on FormA – you can use this code:
MsgBox "Subform control name is: " & _
Me.Parent.ActiveControl.Name
Labels: Access
0 Comments:
Post a Comment
<< Home