Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controlling Field Validaton Message
Message
From
15/12/1997 22:47:13
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Controlling Field Validaton Message
Miscellaneous
Thread ID:
00066102
Message ID:
00066102
Views:
51
I have a character field that is used to contain whether a member is a 'M'ale, 'F'emale
or not answered (blank). I would like the field validation to call a stored procedure
in the DBC to validate this value. If a user enters let's say a 'Q' then and I write
my own MessageBox text and do a RETURN 0 then the fieldMessage follows.

The field message allows a cancel and revert. The problem with Revert is that
it reverts all entries on the line. Also a RETURN 0 causes a data type mismatch
since the field validation expects a logical value.

How can I use the stored procedure with my own MessageBox that does not
fire the field message text?
Next
Reply
Map
View

Click here to load this message in the networking platform