I have a macro that opens a form. The macro then sets a value in that form. I would like for that value to be the caption value of the button pressed.
Forms![frm_Menu]![button].Caption
I want to know what I need to put in that button field to have it reference the button that the macro is being called from, so I can use this same macro on many buttons and it just inserts the caption as that value. Thanks for any help.
Forms![frm_Menu]![button].Caption
I want to know what I need to put in that button field to have it reference the button that the macro is being called from, so I can use this same macro on many buttons and it just inserts the caption as that value. Thanks for any help.