connectionscentres
Programmer
Hi,
I have a simple ms access application that allows you to scan barcodes in to a form which stores them in the database. The barcodes are 6 digits in length e.g. 555666 but my handheld scanner always adds a leading zero - e.g. 0555666. You can get round this problem by changing the database design for the field where this is stored from text to number format.
However, when it comes to quickly doing a search for a code - CTRL + F- the scanner still puts the code into the search box with the leading
zero. Is there a good way of stopping this? Would this be something I could code via a macro?
(the long-term solution has to be to find the manual and scan a system code that removes the leading zero)
Any suggestions??
I have a simple ms access application that allows you to scan barcodes in to a form which stores them in the database. The barcodes are 6 digits in length e.g. 555666 but my handheld scanner always adds a leading zero - e.g. 0555666. You can get round this problem by changing the database design for the field where this is stored from text to number format.
However, when it comes to quickly doing a search for a code - CTRL + F- the scanner still puts the code into the search box with the leading
zero. Is there a good way of stopping this? Would this be something I could code via a macro?
(the long-term solution has to be to find the manual and scan a system code that removes the leading zero)
Any suggestions??