N
Niniel
Hello,
I use the AfterUpdate event to copy text from an unbound textbox to a bound,
hidden textbox, which, presumably, will lead to an immediate update of the
query and therefore the table.
However, I have noticed that the update is not immediate, nor is it even
guaranteed.
I've been testing this by changing the value in my text box, then tabbing
out, and then going back to another record.
I would have thought that the act of tabbing out of the textbox after the
content was changed would fire the AfterUpdate event, but when I check the
table, there's no change in the text field.
So I'm wondering - is the AfterUpdate event the wrong event to use? If so,
which one would be better? On Dirty? Or does that only work when entering
something into a blank text box?
I find this rather puzzling because I'm using the same method elswhere on my
form, and there it appears to be working.
Any idea?
Thank you.
I use the AfterUpdate event to copy text from an unbound textbox to a bound,
hidden textbox, which, presumably, will lead to an immediate update of the
query and therefore the table.
However, I have noticed that the update is not immediate, nor is it even
guaranteed.
I've been testing this by changing the value in my text box, then tabbing
out, and then going back to another record.
I would have thought that the act of tabbing out of the textbox after the
content was changed would fire the AfterUpdate event, but when I check the
table, there's no change in the text field.
So I'm wondering - is the AfterUpdate event the wrong event to use? If so,
which one would be better? On Dirty? Or does that only work when entering
something into a blank text box?
I find this rather puzzling because I'm using the same method elswhere on my
form, and there it appears to be working.
Any idea?
Thank you.