Hello, I have a query that has a number of fields one of which is checking to see if one value is in a list. To do this I created the following function in vba..
Function tot(a As Variant) As Long
If a = "1" Or a = "2" Or a = "2A" Or a = "2B" Or a = "2C" Or a = "3" Or a = "4" Or a = "4+" Or...