Hello,
I have a query that uses a function to return the criteria for filtering records.
This seems to work ok except when I want all records included. I want the function to return a string that uses the "*" operator so that all records are shown......but I can't get it to work. I've tried passing back: "Like ""*""" and "Like " & Chr$(34) & "*" & Chr$(34) & "" , but neither work.
Does anyone have a solution?
I have a query that uses a function to return the criteria for filtering records.
This seems to work ok except when I want all records included. I want the function to return a string that uses the "*" operator so that all records are shown......but I can't get it to work. I've tried passing back: "Like ""*""" and "Like " & Chr$(34) & "*" & Chr$(34) & "" , but neither work.
Does anyone have a solution?