loriyklo
07-18-2001, 08:41 PM
I am designing a very simple form in MS Access for entering 2 pieces of data onto each record of a table. So this form has 2 textBoxes.
99% of the source data are labels with bar-codes. When the operator uses a barcode scanner to enter the data, he scans the 1st data onto textbox1, press the "enter key" on his keyboard, the cursor jumps to textbox2. He scans the 2nd piece of data onto textbox2, press "pagedown" key on the keyboard and start data entry for the next record. No problems so far.
Because the length of the 1st and 2nd field are FIXED, the operator wants me to use VBA programming to eliminate his needs of pressing the "enter" key & the "pagedown" key? At this moment I am planning of using the "keydown" event, the gotoControl method, gotoRecord method, plus some counters to handle this requirements.
Before I set out to do the above programming, do I have a simpler approach? As usual, all suggestions would be much appreciated.
99% of the source data are labels with bar-codes. When the operator uses a barcode scanner to enter the data, he scans the 1st data onto textbox1, press the "enter key" on his keyboard, the cursor jumps to textbox2. He scans the 2nd piece of data onto textbox2, press "pagedown" key on the keyboard and start data entry for the next record. No problems so far.
Because the length of the 1st and 2nd field are FIXED, the operator wants me to use VBA programming to eliminate his needs of pressing the "enter" key & the "pagedown" key? At this moment I am planning of using the "keydown" event, the gotoControl method, gotoRecord method, plus some counters to handle this requirements.
Before I set out to do the above programming, do I have a simpler approach? As usual, all suggestions would be much appreciated.