General information
Category:
Coding, syntax & commands
>I need the Valid event to fire just like the valid
>event
>for the text box as the person is leaving.
>Putting the
>valid code inside the When event does not take
>into account
>that the person might have changed something. So
>If they
>TAB out I need the Valid event to fire
>If they change the data I need it to fire. So far
>the
>Valid only fires if they look or change the data
>in the list.
Maybe you should try keeping all valididity checks in the valid
method, and then specifically call the valid method from the lost focus method. It's kind of a "hack" fix, but it should work.... That should fire whenever they tab out, click out, hit enter etc. You run the risk of firing the valid procedure twice in a lot of cases, but if your valid is small enough, it shouldn't matter.
Scot.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only