My company uses control numbers to keep track of all of our inventory for every product that is entered into our warehouse. (ex. G123456789, T987654321) 1st Alphabet followed by 9 digits of numbers.
Most of the time, these control numbers are scanned into the system by using a barcode scanner but some times these control number are entered into the system manually by hand.
People make mistakes and sometimes enter in different control number.
i want to be able to code my vb so that when the control number does not meet the critarion then program displays an error message.
So i want to check for the first character which needs to be an alphabet and characters 2-10 to be a number.