And and Or Function

  • Thread starter Thread starter Syphonics via AccessMonster.com
  • Start date Start date
S

Syphonics via AccessMonster.com

Can't figure out what is wrong with this?

If (PaymentMethod = "Cheque" Or "Cash") Then

the error state it is a mismatch.
 
is it possible to put

If (pyamentmethod = Cheque" Or "InterBank Giro") Then
 
hi,
Can't figure out what is wrong with this?
The syntax as you figured out :)
If (PaymentMethod = "Cheque" Or "Cash") Then
the error state it is a mismatch.
It must be

If (PaymentMethod = "Checque") Or _
(PaymentMethod = "Cash") Then
' your code
End If



mfG
--> stefan <--
 
Back
Top