Z
ZIMMJE
The value from the first statement is the value that is always returned even
if
[Vec_rlpte_Dys_Qty] = 31 to 60 or 61 to 90 I still get the value from the
first statement returned (0.5434). Does something need to be reset each
time? Do I need some changes in my coding? Please help THANK YOU JZ!!
Function ResultCalc(EPTG_ACUT_ETG_IND As Double, _
Vec_rlpte_Dys_Qty As Double) As Double
If (EPTG_ACUT_ETG_IND = 0) Then
Select Case Vec_rlpte_Dys_Qty
Case 0 To 30
ResultCalc = 0.5434
Case 31 To 60
ResultCalc = 0.6769
Case 61 To 90
ResultCalc = 0.7579
Case 91 To 120
ResultCalc = 0.8168
End Select
End If
End Function
if
[Vec_rlpte_Dys_Qty] = 31 to 60 or 61 to 90 I still get the value from the
first statement returned (0.5434). Does something need to be reset each
time? Do I need some changes in my coding? Please help THANK YOU JZ!!
Function ResultCalc(EPTG_ACUT_ETG_IND As Double, _
Vec_rlpte_Dys_Qty As Double) As Double
If (EPTG_ACUT_ETG_IND = 0) Then
Select Case Vec_rlpte_Dys_Qty
Case 0 To 30
ResultCalc = 0.5434
Case 31 To 60
ResultCalc = 0.6769
Case 61 To 90
ResultCalc = 0.7579
Case 91 To 120
ResultCalc = 0.8168
End Select
End If
End Function