Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validate data w/o combobox ?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00244398
Message ID:
00244482
Views:
13
>I had this done in fp2.6 but I have to bring this over to VFP.

You can also write the validation in the field rule of the view or table so you don't have to duplicate it in every UI...

Jim has a great method to do this... that I adopted a bit... do the validation in the view and table rule, if the rule is called from a view always return .t. so the user doesn't have to stop heads down entry, but returning a false if it comes from the table so it can't be saved.

I modified this abit by changing the background of the activecontrol to red if the value was bad... this would give the user a visual cue of the bad field prior to a save.

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform