Hello!
I have a database that keeps track of customer orders of one product. I have an order form that has many fields, the two pertinent to this question being the Quantity and the Barcode field. I use a scanner to input the barcodes. At the moment, I manually input the amount of product I am scanning for the order in the Quantity field, and put a comma and a space after each barcode I scan into the Barcode field.
Here is what I would like to accomplish:
Thanks in advance!
I have a database that keeps track of customer orders of one product. I have an order form that has many fields, the two pertinent to this question being the Quantity and the Barcode field. I use a scanner to input the barcodes. At the moment, I manually input the amount of product I am scanning for the order in the Quantity field, and put a comma and a space after each barcode I scan into the Barcode field.
Here is what I would like to accomplish:
- For Access to automatically input the comma and space after each scanned barcode in the Barcode field. I don't know what input my scanner produces, but I assume it is simply a keyboard emulator. So, I imagine the only way to accomplish this would be to have the Barcode field insert a comma and a space after every 9 characters entered (ie. barcode format XX-XXXXXX).
- For Access to automatically count the amount of barcodes I have scanned into the Barcode field and store that amount in the Quantity field. The only way I can think to do this is to have the Quantity field count the amount of characters in the Barcode field, and produce the amount based on that. So, for the Quantity field to count 1 for every 11 characters in the Barcode field (ie. 9 barcode characters, a comma character, and a space character).
Thanks in advance!