CHeighlund
Programmer
I am attempting to write a program designed to interface with a database. Part of the program needs to permit the users to enter tracking numbers in the database, and these tracking numbers need to fit a specific pattern. A pair of maintenance programs expect this tracking number to be in all caps so they can match the copy in this particular db table to other related tables. However, I'm running into a rather unusual problem with this.
In the segment where the tracking number can be entered, I've got the following line:
It was my understanding that this would automatically convert anything in the labeled edit box to uppercase values where applicable. (No uppercase 2, for example.) While the command does this, it or something else is also pointing the cursor back at the beginning of the labeled edit field with each change, such that attempting to type in, say, the word 'guggenheim' would result in a nicely capitalized entry of 'MIEHNEGGUG'. I have no clue what is causing this; it may be something in my code, it may be a setting somewhere on my machine (running Windows XP, for reference). Has anyone ever had this kind of problem here before, and if so, what needs to be done to correct it?
In the segment where the tracking number can be entered, I've got the following line:
Code:
lbdtCntrct_Id.Text := UpperCase(lbdtCntrct_ID.Text);