Quick code problem

JTQ911

Registered User.
Local time
Today, 06:06
Joined
Jul 26, 2007
Messages
83
I have two textboxes in a form ARW and ARW2, they are both numbers and they are both doubles. I also have a checkbox called Check1. What would the code be such that if either ARW or ARW2 is greater than or equal to 5 then the checkbox is true. Thanks, I apologize for my lack of coding skills
 
Dont know if this is right, but it will point you in the right direction I believe:

If Me.ARW.Value Or Me.ARW2.Value > 5 Then
Me.Check1 = True
End If

Like I said, that might not be entirely correct, but at least it is the right direction.
 

Users who are viewing this thread

Back
Top Bottom