Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning False from Valid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Returning False from Valid
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01360554
Message ID:
01360554
Views:
60
I have a form (more than one, I'm sure) where a textbox is used to enter a value, the system looks up the value in a table, and populates a grid with some information from the record that is located. If data was entered, I return false so that the user can continue to enter values. If no data was entered, I return true so that the user can exit the control. This is done via the Valid method. It works like a champ. Now I am developing another form where I am using that same technique and, although it works, I get a beep and an "Invalid input" wait window when I return false. Actually, I believe this latter behavior is the std. behavior. The odd thing is that I don't know why I'm not getting it on the first form. I'd like to get rid of that behavior and have it work like the first form. I don't have anything in my base class that would affect this. Does anyone know why I might be getting the different behaviors?

Thanks,

Russell Campbell
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Next
Reply
Map
View

Click here to load this message in the networking platform