i my textbox lostfocus event, i have written a code and at the end of processing of code, the focus should return again to the same textbox.

i am using lostfocus event, because i want to enter barcode numbers in a form through a barcode scanner, and the scanner triggers lostfocus event after entering one value. hence no chance of using other event for my code except lostfocus.

when the processing is done (actually saving the barcode + other info into databasE) the same textbox should be ready to take next input without any user help.