I am trying to use this in a query similar to
WHERE FieldType IN (:Type) following the available pocketquery documentation
but it is not working... I have tried everything with comas, quotes, etc... and of course declared Type=ListOfStrings in the query "designer"...
The field FieldType has the values "I", "R" or "CO"... and I've tried in the case in the broser with 'I,R', 'I','R'... well, everything... and it is not working...
What I am not doing correctly?
Thanks in advance
Hi Felix!
In fact I solved my "problem" just after publising the post... I tried to find it to reply but I did not succeded...
It's now working well!!!
Thanks
Glad to hear that! Could you accept my answer?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Cuto!
Let's try this way: I'll provide you my example which works perfectly. My environment: MySQL, PQ 2.0.5, Confluence 5.9.5. Please check with this first if there's something wrong with your configuration...
My query:
SELECT Name, Population FROM Country WHERE Name IN (:Countries)
Parameter types: Countries=ListOfStrings
In the macro, I pass this as parameter "Countries": Sweden,Norway,Finland
Everything else I leave default.
Does this differ to your case anyhow?
Regards, Felix (Scandio)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am dealing with the same issue. How did you actually fix this? Ive tried passing in with single ticks double ticks ... and of course set as ListOfStrings.
For example:
and wl.AUTHOR in (:Users)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.