G
Guest
Hi!
I have a VB formula that look like this.
TemperaturInput=FrmSeawaterParameter25CrSDSS.TxtTemperature.Value
If TemperaturInput < 10 Then
PoFResult = 5
ElseIf TemperaturInput > 10 Or TemperaturInput < 15 Then
PoFResult = 4
ElseIf TemperaturInput > 15 Or TemperaturInput < 20 Then
PoFResult = 3
ElseIf TemperaturInput > 20 Or TemperaturInput < 25 Then
PoFResult = 2
ElseIf TemperaturInput > 25 Then
PoFResult = 1
End If
My problem is that this is not correct, if a set TemperaturInput=17 on this
i will get
PoFResult =4 and that is NOT correct!
What is wrong?
I have a VB formula that look like this.
TemperaturInput=FrmSeawaterParameter25CrSDSS.TxtTemperature.Value
If TemperaturInput < 10 Then
PoFResult = 5
ElseIf TemperaturInput > 10 Or TemperaturInput < 15 Then
PoFResult = 4
ElseIf TemperaturInput > 15 Or TemperaturInput < 20 Then
PoFResult = 3
ElseIf TemperaturInput > 20 Or TemperaturInput < 25 Then
PoFResult = 2
ElseIf TemperaturInput > 25 Then
PoFResult = 1
End If
My problem is that this is not correct, if a set TemperaturInput=17 on this
i will get
PoFResult =4 and that is NOT correct!
What is wrong?