Quick question:
Is there a way of assigning a button name to a variable and the use it i.e. me.VariableName.enabled = true?
Basically, I have a module that will run on every button on the form. I can copy the module to every button, but I’d like to have it as a stand alone module which the uses a global variable in the me.button.enabled code.
Not sure if this is possible as I have been unable to get it to work – I may be using the wrong variable type. I tried string to start with, then I tried defining buttonID as .button (never used it, not sure what it does, but I thought I’d give it a go!).
Any help would be much appreciated.