Hi!
Try following:
SELECT *;
FROM Table;
WHERE INLIST(Field, ?&gcFieldTypes)
or even
gcFilter = "INLIST(Field, " + gcFieldTypes + ")"
SELECT *;
FROM Table;
WHERE ?&gcFieldTypes
I do not remember, however, if it should be '?&' or '&?', but there are only 2 combinations ;)
HTH.
>Hi
>
>I have a view that needs to be parameterized on an INLIST function, and I want to specify the INLIST contents with a Public Variable.
>
>So I tried setting the View up as:
>
>SELECT *;
> FROM Table;
> WHERE INLIST(Field, &gcFieldTypes)
>
>But with no joy.
>
>Any ideas on how I can achieve this, I do get the error, "Missing Operand".
>
>Thanks
>Kev
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.