A validation rule would look something like ...
[Notification]=False Or [MobileNumber] Is Not Null
However, there's not much point in using a validation rule like this in a
form. If I was going to use the validation rule, I'd do it in the table. In
the form, I'd disable the notification check box, and enable it in the
current event procedure of the form and the after update event procedure of
the mobile number text box, only if the mobile number text box contained a
value ...
Me!chkNotification.Enabled = (Len(Me!txtMobileNumber & vbNullString) > 0)
It's always better, if possible, to avoid offering an invalid choice rather
than to offer it and then throw an error. Think about how it looks to the
user ...
What's your mobile number?
I don't have one.
Do you want an SMS notification?
Yes please.
Well you can't have one, stupid, because you don't have a mobile number.
... as opposed to ...
What's your mobile number?
I don't have one.
OK. Unfortunately, I can't offer you the option of an SMS notification
without a mobile number, so let's move on ...
Which program would you rather use?

Signature
Brendan Reynolds (MVP)
> hi
> does anyone know how to set a validation rule based on the answer to a
[quoted text clipped - 5 lines]
> number
> on the previous field