That's great, thanks both for your help.
I have taken over the database from a retired member of staff. He wrote some VBA code to remove any asterisks from any scanned values, so having the asterisks in the barcode is a quick workaround for now.
I have now a textbox displaying the DepartID and...