J
Joe
Hello,
Can someone please help me with my Case Statement
Public Function FEE_TYPE(DET_REF As String) As String
Dim strRef As String
Dim strFeeType As String
strRef = DET_REF
Select Case strRef
Case "LP*"
strFeeType = "LP"
Case "PP*"
strFeeType = "PPP"
Case "Prop*"
strFeeType = "Prop Tax"
End Select
FEE_TYPE = strFeeType
End Function
Query
SELECT FEE_CATEGORY: FEE_TYPE(DET_REF)
FROM tblFees
I do not get any results when I know there are many of them
Can someone please help me with my Case Statement
Public Function FEE_TYPE(DET_REF As String) As String
Dim strRef As String
Dim strFeeType As String
strRef = DET_REF
Select Case strRef
Case "LP*"
strFeeType = "LP"
Case "PP*"
strFeeType = "PPP"
Case "Prop*"
strFeeType = "Prop Tax"
End Select
FEE_TYPE = strFeeType
End Function
Query
SELECT FEE_CATEGORY: FEE_TYPE(DET_REF)
FROM tblFees
I do not get any results when I know there are many of them