News, links, downloads, tips and tricks on Microsoft Access and related
Wednesday, March 14, 2012
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
No comments:
Post a Comment