I have some code that will tell me the name of field that I want to set the focus to:
EG
strField = "txtClientRef"
what I want to do is run a command like this:
me.strField.setfocus
I could build the string using the following syntax:
strCommand = "me." & strfield & ".setfocus"
How would I execute that command?
Mark Davies
Warwickshire County Council
EG
strField = "txtClientRef"
what I want to do is run a command like this:
me.strField.setfocus
I could build the string using the following syntax:
strCommand = "me." & strfield & ".setfocus"
How would I execute that command?
Mark Davies
Warwickshire County Council