-
Need help with writing a if then statement
I have a combo box with several different plans to choose from in cboOption. Example1 and Example2 are text boxes that check to see if Example1 is greater than Example2. Two of the plans has to be Nz(Me.Example1, 0) < Nz(Me.Example2, 0).
I currently get Compile Error Expected: =
If Me.cboOption = "Plan 1" Or Me.cboOption "Plan 2" Then
Nz(Me.Example1, 0) < Nz(Me.Example2, 0)
Else
Nz(Me.Example1, 0) > Nz(Me.Example2, 0)
End If
I.am guessing, I wrote it wrong. How would you write what I am looking for?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules