P
PatrickA
ALl,
Thanks to information I've found on these groups, I was able to build
a function and use it in the Criteria row of a query.
This works fine now for things where my Criteria only has one value -
as in a single person.
Is there any magic to getting this to work when I want my Criteria to
be an IN comparison, e.g. IN (19,28,29)?
Right now, I have my function fGetStrQRYWhereP() returning:
IN (19,28,29)
But putting that in the Criteria row of the query returns 0 records.
Similary, trying to build the Criteria from bits and pieces (changing
my code so fGetStrQRYWhereP() returns 19,28,29 and then putting "In ("
& fGetStrQRYWhereP() & ")" in the Criteria row) returns 0 records.
The composite string looks correct when I show it in a query column,
though...
Any suggestions? Another approach? Am I trying to do something that
is not possible?
Thanks,
Patrick
Thanks to information I've found on these groups, I was able to build
a function and use it in the Criteria row of a query.
This works fine now for things where my Criteria only has one value -
as in a single person.
Is there any magic to getting this to work when I want my Criteria to
be an IN comparison, e.g. IN (19,28,29)?
Right now, I have my function fGetStrQRYWhereP() returning:
IN (19,28,29)
But putting that in the Criteria row of the query returns 0 records.
Similary, trying to build the Criteria from bits and pieces (changing
my code so fGetStrQRYWhereP() returns 19,28,29 and then putting "In ("
& fGetStrQRYWhereP() & ")" in the Criteria row) returns 0 records.
The composite string looks correct when I show it in a query column,
though...
Any suggestions? Another approach? Am I trying to do something that
is not possible?
Thanks,
Patrick