This seems like it should be so easy, but I can't get it to work! I know that it is not good practice to use the same bit of code over and over in a form, and that I should instead write a function and call it. I want every field in a form to be capitalized. I have been using
me.activecontrol=ucase(me.activecontrol)
This works, but I can't for the life of me figure out the correct syntax to write the function instead of using this code behind each and every control on my form.
Thanks for any pointers!!!
me.activecontrol=ucase(me.activecontrol)
This works, but I can't for the life of me figure out the correct syntax to write the function instead of using this code behind each and every control on my form.
Thanks for any pointers!!!