Hello all
I have a textbox(entryID) that when you enter a number the code in the afterupdate event checks to see if it's valid and adds it to a table
At the end of this process I want the cursor to be back in the textbox ready for the next entry.
I have tried several ways and locations of the setfocus command but it never returns to the text box and I don't get any error messages. I can tab to back to the box and of course reclick it with mouse no problem
any ideas why
I have a textbox(entryID) that when you enter a number the code in the afterupdate event checks to see if it's valid and adds it to a table
At the end of this process I want the cursor to be back in the textbox ready for the next entry.
I have tried several ways and locations of the setfocus command but it never returns to the text box and I don't get any error messages. I can tab to back to the box and of course reclick it with mouse no problem
any ideas why