G
Guest
In a query i have the following in a criteria box.
strnames()
The function should be something like this (although of course this doesn't
work)
Function strNames()
strNames = <>Don and <>Bob
End Function
I've tried quotes in every combination I can think of but it still doesn't
work. Is it impossible to create a criteria in a function.
I was able to get the following to work when I put <> in front of strNames
in the criteria section of the query but it only allows me one name.
Function strNames()
strNames = "Don"
End Function
I need multiple names returned by the function to act as criteria in the
query. Any help would be greatly appreciated.
strnames()
The function should be something like this (although of course this doesn't
work)
Function strNames()
strNames = <>Don and <>Bob
End Function
I've tried quotes in every combination I can think of but it still doesn't
work. Is it impossible to create a criteria in a function.
I was able to get the following to work when I put <> in front of strNames
in the criteria section of the query but it only allows me one name.
Function strNames()
strNames = "Don"
End Function
I need multiple names returned by the function to act as criteria in the
query. Any help would be greatly appreciated.