Call a button sub from a text box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

You can use the OnTimer event of the form to check the value in the field
once in few seconds
 
Hi, i don't get this thing to work. I have a text box that sum up a numbers
and everytime the text box number is above 100 i want it to display a error
msg. but i don't get it work. i mad a button that go there and check it and
it would display. i want that text box after it update to call this button so
i could display the msg. i want to do it automatic not by pressing the
button. please help me with this. either way i will be happy. thanks!
 
Hi Ofer, i want a msg to display when the total is greater then 100 everytime
text box was updated. when i did the On Timer. It will have a interval
between each other. so when i update the textbox the msg may come after a
long time. is there any othere way. then this. thanks!
 
Well, when does the value of this field updated?

You can check the value on the after update event of each field that make
the value of this field change.
--
If I answered your question, please mark it as an answer. That way, it will
stay saved for a longer time, so other can benefit from it.

Good luck
 
Hi Ofer, Thanks for u'r replay. i have a textbox in a subform that sum up as
total value. and in that subform it sum all the number of a percentage field.
And when ever someone is viewing the form and they will change one of the
percentage. and at that time i want the total to check if the total is
greater then 100 and if is i want to display a msg. and when i do the onTime
it would be delay. how can i do this. Thanks!
 
Back
Top