Log in

View Full Version : Auto - Start Code



JimmyFly
02-16-2008, 07:02 PM
Hello,
I have a form that will be used to display data from a table using 'Dlookup' based on what is entered into a textbox. I can get it to work by callng the code via a form button, but wanted to know if there is a way to call the code without having to use a button. I will be using a barcode scanner to read the data to be queried on but I don't want the end-user to have to scan their barcode and then click a form button but rather just scan the barcode and it automatically initiate the 'Dlookup' code.
:dunno
Thanks for your help.

rconverse
02-18-2008, 10:23 AM
You could assign the same code to an after update event. If you are able to scan the data into your textbox, then anytime that field is updated, the code should be triggered.

HTH,
Roger