Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Messages of Validations
Message
From
06/09/1999 16:02:26
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00261658
Message ID:
00261785
Views:
22
Claudio Lassala Wrote:
>>How can I customize the message displayed by VFP when a field validation rule is violated? I don't want that when a user is entering data in a form, VFP shows its message; I'd like to take control of this message.
>>
>>Is it possible?

Jim Booth wrote:
>Put your validation code in the valid event. If the data is invalid you can >use the MessageBox() function to display any message you like and then RETURN >0 from the valid event. Returning .F. will display the VFP message and retain >focus in the control. Returning 0 will NOT dislpay the VFP >message but it will retain focus in the control.

Hi, Jim.

But the problem is: I'd like to put the validation code in my tables; in this way, don't matter from which form I am trying to access the data (in your example, I should put the validation code in each form I've created). Did you understand?

Thanks!
Claudio Lassala
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform