Need help getting this..
Need to check the value of a barcode in a text box to see what the first character is.
Like this;
If the first character in txtScannedBarcode is "M" then I want it to open frmM
If it is a "B" then I want it to open frmB
and so on. The values would be along the likes of "M1001", "B1110".
I know how to get it to open the forms but unsure how to compare the value of the text box, if it is even possible.
Thanks,
Matthew
Need to check the value of a barcode in a text box to see what the first character is.
Like this;
If the first character in txtScannedBarcode is "M" then I want it to open frmM
If it is a "B" then I want it to open frmB
and so on. The values would be along the likes of "M1001", "B1110".
I know how to get it to open the forms but unsure how to compare the value of the text box, if it is even possible.
Thanks,
Matthew