Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DBC and Form Wizard: validation
Message
From
12/12/2005 15:47:42
Howard Brown
Howard J. Brown Consulting Services Inc.
North Kingstown, Rhode Island, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
DBC and Form Wizard: validation
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01077295
Message ID:
01077295
Views:
61
Hi all,
I'm trying to implement field validation in a set of tables within a VFP database, using screens generated with the Form Wizard. The edit condition is "not isnull(field)". I have entered a custom error message of "(field) may not be blank". VFP is inconsistent in capturing the null condition, and I can't get it to display my custom error message correctly:

On one table it will only display "failed to update record. Field rule violated."

On the other it erroneously displays my custom error message when the "Add" command button is pressed, instead of waiting for the "Save" button. Then that error message is followed by one or more method-level VFP error messages in a messagebox-type display.

I see that there is a rich history in the UT database on this and related topics. Is there something I can do to salvage the approach I've already taken, since it has already been costly in debugging time.
TIA
Howie Brown
Reply
Map
View

Click here to load this message in the networking platform