L
Lee
Hi there,
As usual I'm getting stuck on syntax but I think I've tried
all permutations so am at a loss how to proceed.
I have an option group on a form. The bound frame is
called FeesFrame and the frame is bound to a table field
called FeeTypeValue. The user can chose one out of 6
options.
I'm trying to write some simple validation where, if the
user selects either option 1 or option 2 AND the country is
not in the UK then a message appears as a reminder (it's
not a critical error). Some hope!!
Can you tell me where I'm going wrong here?
This is under the 'after update' event of the Frame:
If [FeesFrame] = 3 Or 4 And [ToCountry] = "UK" Or "Wales"
blah, blah Then
MsgBox "...you have selected a UK fee for an Overseas
arrangement?", vbQuestion, "Do you realise..."
End If
I've tried: If [FeesFrame]=3 Or [FeesFrame]=4.....
If [FeeTypeValue]=3 Or [FeeTypeValue]=4
If [FeesFrame].Value = 3 .............
As usual I'm getting stuck on syntax but I think I've tried
all permutations so am at a loss how to proceed.
I have an option group on a form. The bound frame is
called FeesFrame and the frame is bound to a table field
called FeeTypeValue. The user can chose one out of 6
options.
I'm trying to write some simple validation where, if the
user selects either option 1 or option 2 AND the country is
not in the UK then a message appears as a reminder (it's
not a critical error). Some hope!!
Can you tell me where I'm going wrong here?
This is under the 'after update' event of the Frame:
If [FeesFrame] = 3 Or 4 And [ToCountry] = "UK" Or "Wales"
blah, blah Then
MsgBox "...you have selected a UK fee for an Overseas
arrangement?", vbQuestion, "Do you realise..."
End If
I've tried: If [FeesFrame]=3 Or [FeesFrame]=4.....
If [FeeTypeValue]=3 Or [FeeTypeValue]=4
If [FeesFrame].Value = 3 .............