G
GeorgeMar
I have a query with a field called Subject. In the query
Builder, I enter a function fnSubject() that contains the
subject to filter on, instead of the value. It works well
if there is only one subject, say "A".
The user determines which subject(say "A") and query
filters for "A".
Now, when I have more than one subject, say "A" OR "B"
OR "C", then it doesn't work. If I enter the "A" OR "B"
OR "C" directly into the Query Builder, it works.
If the user has chosen a number of subjects, I create the
text - "A" OR "B" OR "C" which goes into the function and
query doesn't work.
I have tried using single quotes('), double quotes("), no
quotes and nothing works.
Any idea what the syntax should be?
many thanks
george
Builder, I enter a function fnSubject() that contains the
subject to filter on, instead of the value. It works well
if there is only one subject, say "A".
The user determines which subject(say "A") and query
filters for "A".
Now, when I have more than one subject, say "A" OR "B"
OR "C", then it doesn't work. If I enter the "A" OR "B"
OR "C" directly into the Query Builder, it works.
If the user has chosen a number of subjects, I create the
text - "A" OR "B" OR "C" which goes into the function and
query doesn't work.
I have tried using single quotes('), double quotes("), no
quotes and nothing works.
Any idea what the syntax should be?
many thanks
george