A
Alastair
Dear All,
I am trying to create a function for use in a query that
returns values like:
1 or 2 or 3
such as,
Public Function varRetVal() as Variant
varRetVal = 1 or 2 or 3
End Function
but my question is to do with the return value because
Variant does not appear to work, nor does a string. What
return value would I use that would generate the numbers
and logical operator "Or" without treating it as text?
Thanks again...
Alastair
I am trying to create a function for use in a query that
returns values like:
1 or 2 or 3
such as,
Public Function varRetVal() as Variant
varRetVal = 1 or 2 or 3
End Function
but my question is to do with the return value because
Variant does not appear to work, nor does a string. What
return value would I use that would generate the numbers
and logical operator "Or" without treating it as text?
Thanks again...
Alastair