I have the following code that is not working. I can't figure out why:
SupplyODCheck = Replace(Nz(Me.ODSupply, 0), " Month", "")
SupplyOSCheck = Replace(Nz(Me.OSSupply, 0), " Month", "")
If SupplyODCheck >= 12 Or SupplyOSCheck >= 12 Then
Me.YearSupply = True
Me.YearSupply = False
When: SupplyODCheck = 6, SupplyOSCheck = 0
However each time it executes its hitting the first line and setting year supply True when its false.