Is there a key word to reference a control's properties from within a control event, similar to the way that you can reference the form that you're in using the "Me"?
For example if I'm in a sub routine on a form, I can call Me.[ctrl].[property], but I want to do this more generically. I have a series of buttons that all call different forms, but they perform basically the same function. My ideas was that I could put the form name in the button tag and just use the same code for each button
DoCmd.OpenForm [frmCtrlTag]
Does this make sense at all?
For example if I'm in a sub routine on a form, I can call Me.[ctrl].[property], but I want to do this more generically. I have a series of buttons that all call different forms, but they perform basically the same function. My ideas was that I could put the form name in the button tag and just use the same code for each button
DoCmd.OpenForm [frmCtrlTag]
Does this make sense at all?