|
Question : Auto Tabbing in a MS Access 2003 Form
|
|
Auto-Tab in Access 2003 Database Form
I have a form where I have 20 identical fields on a form. The purpose of these fields is to use a Symbol LS2208 barcode scanner to scan a serial # barcode on the equipment being scanned. I have the fields on the form in 4 rows of 5 fields across. Currently if I scan a barcode in, I had to manually hit TAB KEY to move to the next field. The tab order is all correct, I just need a way to scan in the barcode by have it auto-tab to the next field. I tried going into the properties for the field and toggling the "Auto Tab" option to Yes, but this did not work. The barcode is 16 digits long. So I went back to the table design view and edited the field length to be 16 characters long. Could someone help me figure out how to get the auto-tab function to work properly?
|
|
Answer : Auto Tabbing in a MS Access 2003 Form
|
|
Also, would I need to create and After Update code for each field separately? Yes
In the after update for Asset01" me.Asset02.setfocus
In the after update for Asset02" me.Asset03.setfocus
In the after update for Asset03" me.Asset04.setfocus
But I think to avoid this I would put a form with a subform both based on the same table. The field on the form would have in the after update: DoCmd.GoToRecord , , acNewRec
|
|
|
|