Hi,
I Have a query that uses a function for setting the Criteria.
When I view the return value of the finction it appears to be exactly what I
want for my criteria. The problem is if I type the criteia directly in the
query all's well however if I set it to the return value of the function I
get no records returned. Here's the function I'm using. Any help is appreciated. Thanks!
Option Explicit
Public Function GetString() As String
Dim strName
strName = "367,1,2"
End Function
I want to use GetString() in a Query(attached to a report) in In Clause in Criteria.
Any help is appreicated. Thanks,
I Have a query that uses a function for setting the Criteria.
When I view the return value of the finction it appears to be exactly what I
want for my criteria. The problem is if I type the criteia directly in the
query all's well however if I set it to the return value of the function I
get no records returned. Here's the function I'm using. Any help is appreciated. Thanks!
Option Explicit
Public Function GetString() As String
Dim strName
strName = "367,1,2"
End Function
I want to use GetString() in a Query(attached to a report) in In Clause in Criteria.
Any help is appreicated. Thanks,
Comment