Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Basic - Procedure Question
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Basic - Procedure Question
Miscellaneous
Thread ID:
00466388
Message ID:
00466388
Views:
38
What do people do for standard validation of data. ? how do you make screens react ?
The valid propertity while it works. is not what I am looking for, (what if the user never gets to that field, and the data, cant be left out.

Onto the question
if I have a save button, which is suppose to check the data before writing it to the database ?
like this
if thisform._textfield1=0
* something wrong"
** how to I put control back to the form, with

endif
then write the data

I tried doing a setfocus() but the save button just goes back and saves it anyway.

I was thinking of putting the isvalid() in seperate class. Anythought ?

Thank you
Bob lee
In the beginning, there was a command prompt, and all was well.
Next
Reply
Map
View

Click here to load this message in the networking platform