Headhunter
|
| Posted: 02/05/2003, 11:43 PM |
|
Hello all,
I want to make a form validation that when a certain field is filled in ther must also another field filled in.
For example, I have 3 fields, f1, f2, and f3.
In my updatable grid I want when f2 is filled in that also f3 is filled in.
How can I do this?
Thanx
|
|
|
 |
jd
|
| Posted: 02/12/2003, 9:59 PM |
|
select the data tab of the properties window for the form field you want to validate. Go to the validation rule and enter something like this.
(f2 = "" and f3 = "") or (f2 <> "" and f2 <> "")
The validation rule is set up as an if not()then statement so if the validation test you supply returns false the validation fails. If the test returns true the the validation passes. Don't forget to supply validation text on the next line of the properties.
|
|
|
 |
Anyone
|
| Posted: 02/12/2003, 10:36 PM |
|
Does this work
|
|
|
 |
|