Before I show you this piece of code, I have to tell a story.
I received a request to build a web application that allowed a user to enter an ID and then using that ID as the customer number, enter SOP invoices. eConnect, all that stuff.
I didn't like the fact that the ID would come over in lower case sometimes, becuause CUSTNMBRs in Dynamics are all upper case. So I found this neat piece of code to convert a text box to upper case...
And the customer didn't like it, they made me take it out.
Anyway, for the record, the code below will convert the text typed into a text box to upper case