Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need assistance with 'field validation'
Message
From
28/02/2003 15:01:58
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
28/02/2003 14:18:21
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00759567
Message ID:
00759609
Views:
19
Hi Gregory.

I guess my question now is, do I have to put every "case" into this record validation rule? I mean, if I have several fields that need some sort of validating, do I then need to build a case for each and every one of them and expand on the example you provided? Something like,

do case
case SomecheckHere
repl field with SomeCalculatedValue

case AnotherCheckHere
repl field2 with SomeOtherCalculatedValue
.
.
.
case area <> Length * Width
repl area with Length * Width
.
.
.

endcase

TIA

Mike

>Mike,
>
>Put the code in the Record Validation rule
>
>do case
>case area <> Length * Width
>  repl  area with Length * Width
>endcase
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform