Never mind.....cockpit error.....I looked a the sql generated from the queries and it was correct in all cases. The problem lay elsewhere in my Python script. Multiple works as advertised! <br><br>BTW, I also read in some posts that the type parameter does not work. But according to my mysql logs, the type parameter does work as advertised. The only issue is one cannot enter a list of values from the ZMI to test the sql. You have to do it from a Python script.<br>
<br>Mark<br><br><div class="gmail_quote">On Fri, Oct 1, 2010 at 6:32 PM, Mark Phillips <span dir="ltr">&lt;<a href="mailto:mark@phillipsmarketing.biz">mark@phillipsmarketing.biz</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have a ZSQL query getPlayersBySeasons with one input value, seasonID:<br><br>select distinct player.playerID, firstName, lastName, number, birthdate, positions, bats, throws, active<br>from player, SeasonPlayer<br>&lt;dtml-sqlgroup required where&gt;<br>

    &lt;dtml-sqltest seasonID column=SeasonPlayer.seasonID type=int optional multiple&gt; <br>    &lt;dtml-and&gt;<br>    SeasonPlayer.playerID=player.playerID<br>&lt;/dtml-sqlgroup&gt;<br><br>and my python code:<br>players = context.getPlayersBySeasons(seasonID=s).dictionaries()<br>

<br>If s = [1], or s=[2], or s=[1,2] or s=&quot;&quot;, I get the same result set back.<br><br>What is the correct syntax for using the multiple key word? I have googled and it seems that a lot of people have problems, and no one has a solution.<br>

<br>Thanks!<br><font color="#888888"><br>Mark<br>
</font></blockquote></div><br>