Hi,
I was looking for an answer to the following problem and stumbled here so I thought I might as well dive right in and ask!!!
One of the reports in my application is based on a query that gets it's criteria from a vba function, not a problem until I wanted to use the Or operator in the aforementioned criteria.
i.e. the function previously would only return a single value 4421 but now I want the function to return 4421 or 5584 or 1274.
The function returns a string so I thought I could just build my string with the Or operator included e.g. "4421 or 5584 or 1274" but you get a criteria mismatch.
Any help would be much appreciated
bretto
I was looking for an answer to the following problem and stumbled here so I thought I might as well dive right in and ask!!!
One of the reports in my application is based on a query that gets it's criteria from a vba function, not a problem until I wanted to use the Or operator in the aforementioned criteria.
i.e. the function previously would only return a single value 4421 but now I want the function to return 4421 or 5584 or 1274.
The function returns a string so I thought I could just build my string with the Or operator included e.g. "4421 or 5584 or 1274" but you get a criteria mismatch.
Any help would be much appreciated
bretto