When you scan bar codes, it is similar to as if the end user is typing in data. You have to remember to keep a few things in mind...
- Position the cursor at the data entry field. Use Me.YourContolName.SetFocus at the end of the scan / start of a new record so the cursor is at the right location. for example, scanning bar codes with ISBN information -- you would want to position the cursor at the ISBN control (field) on the form for the scan.
- You want to perform an a key-control after the scan such as a carriage-return, or tab.
- After the data has been scanned, you probably want to run a bit of logic. For example, with the library book, after the ISBN scan, run a look-up to retrieve the information on the book. Or run a verification of the scanned data to ensure data integrity.
Dont be intimidated by scanners -- they are just another input device.
I'm looking for a way to scan a driver license and place it on a form. I would like to scan from within Access and have it automatically placed in the field.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.