General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only