I have searched for an answer on line but haven’t found anything that looks right. Maybe I am not using the right search terms.
Here is what I am trying to do:
We use Access 2003 (yes, 2003) to track our equipment. Each piece is represented by a record in a table. When the piece of equipment comes in we have an Access form that we use to manage the inventory.
The form has a button that lets us search for the record by typing in the equipment number. In other words it searches a field in the table and then pulls up the record corresponding to the specific piece of equipment. Then we have another button that changes a different field in the record to the current date.
Whenever a piece of equipment comes in, a paper card is printed that goes with the equipment. I have set up a barcode system and have the system working to where when we search for a piece of equipment we can scan a barcode printed on the paper card and it will enter the equipment number into our current search box. (I am using Code 39) So what happens is a person mouse clicks a search box on a form, scans the barcode to pull up the record and then mouse clicks another button on the form to update the date field to the current date. This all works fine but is a little cumbersome having to keep switching between input devices.
What I would like to do is to create a barcode to print to a piece of paper that would perform the action of updating the record. In other words, I would like to be able to scan a barcode and have it perform the “date” record change that is currently being done by mouse clicking a button on the form.. This way I could post the paper barcode to the bench and we could use the scanner to both pull up the record and then update it by scanning each (Search and update) barcode separately. (Maybe even create a macro to perform both actions and just scan one barcode... I don't know.)
I know that the barcode scanner is merely sending inputs like a keyboard or mouse. I am just not sure what text inputs to send or how to find out. Can custom hot keys be set up for specific buttons in forms? I really don't know where to begin.
I have worked with macros. Forms, reports, queries, etc… but I am not sure how to proceed here. I am not a programmer by trade so please be patient with me. I don’t mind spending the woodshed time learning but I would really appreciate if someone here can point me to the proper resources. Or better yet, if someone has done something similar I would love to hear how.
Thank you.