I am having trouble clearing text boxes when they receive focus. This requires the user to backspace or highlight/delete before typing in new info. What have I done wrong?
I don't want to have to put this.value = "" in each gotfocus event.
May I ask how you can arrive at a situation, where you would need to clear the values of all your textboxes on a form as they receive focus? Is it possibly a design issue?
APPENDing a blank record if a table is the control source, or SCATTER MEMVAR BLANK or m.MyVar = SPACE(Whatever) if a variable is the control source, should take care of clearing the text boxes for you.
It all started when I could not get selected on entry to work. I was grabbing at straws to clear the box when I came back into it. I finally found that if I used the builder and chose selected on entry, it worked. At this point, I don't know why the normal setting it in properties did not work, but time schedules preclude me from investigating further. Maybe once this project is finished
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.