G
george
I have the following code set in a module:
Function Rndratio(Rounding As String) As String
Dim Valuess As String
Select Case Rounding
Case "1.15"
Valuess = "1.2"
Case "1.25"
Valuess = "1.2"
Case "1.35"
Valuess = "1.4"
Case "1.45"
Valuess = "1.4"
Case "1.55"
Valuess = "1.6"
Case "1.65"
Valuess = "1.6"
Case "1.75"
Valuess = "1.8"
Case "1.85"
Valuess = "1.8"
Case "1.95"
Valuess = "2.0"
Case ""
Valuess = ""
Case Else
Valuess = "test"
End Select
Rndratio = Valuess
End Function
I would like to have the value of a bound
field "Rounding" to insert the value "Rndratio" in a
field named "Ratiornd".
I would apprecaite any help.
Thank you
Function Rndratio(Rounding As String) As String
Dim Valuess As String
Select Case Rounding
Case "1.15"
Valuess = "1.2"
Case "1.25"
Valuess = "1.2"
Case "1.35"
Valuess = "1.4"
Case "1.45"
Valuess = "1.4"
Case "1.55"
Valuess = "1.6"
Case "1.65"
Valuess = "1.6"
Case "1.75"
Valuess = "1.8"
Case "1.85"
Valuess = "1.8"
Case "1.95"
Valuess = "2.0"
Case ""
Valuess = ""
Case Else
Valuess = "test"
End Select
Rndratio = Valuess
End Function
I would like to have the value of a bound
field "Rounding" to insert the value "Rndratio" in a
field named "Ratiornd".
I would apprecaite any help.
Thank you