A
alex
Hello,
I have some code in the AfterUpdate event of textbox that uses DLookup
to check for a value in a table.
If the value is found, I provide the user the option to ignore the
duplicate or undo the entry of the textbox.
I use a simple me.Undo that wipes the data from the textbox, but I
cannot seem to set the focus back to the same text box (so they can
start over).
Am I doing something wrong? Should I not be using me.undo?
alex
I have some code in the AfterUpdate event of textbox that uses DLookup
to check for a value in a table.
If the value is found, I provide the user the option to ignore the
duplicate or undo the entry of the textbox.
I use a simple me.Undo that wipes the data from the textbox, but I
cannot seem to set the focus back to the same text box (so they can
start over).
Am I doing something wrong? Should I not be using me.undo?
alex