hi all,
the user selects from a list box in a html form in originating page.
I use his selection as a parameter in my target asp page,
in order to execute a MS Access 2000 query.
i.e when the user chooses "Rblt1" from the list box the variable "varRblt" gets the value "Rblt1" and the query
sqltext="SELECT * FROM DBname WHERE RBLT='"& varRblt&"';" works fine.
When the user makes multiple selections (i.e Rblt1 and Rblt2)from the list box,the variable varRblt gets the value
"Rblt1,Rblt2" and the query does NOT work.
How should i write sqltext in order to work with single and multiple selections?
Thanks in advance
ierax
the user selects from a list box in a html form in originating page.
I use his selection as a parameter in my target asp page,
in order to execute a MS Access 2000 query.
i.e when the user chooses "Rblt1" from the list box the variable "varRblt" gets the value "Rblt1" and the query
sqltext="SELECT * FROM DBname WHERE RBLT='"& varRblt&"';" works fine.
When the user makes multiple selections (i.e Rblt1 and Rblt2)from the list box,the variable varRblt gets the value
"Rblt1,Rblt2" and the query does NOT work.
How should i write sqltext in order to work with single and multiple selections?
Thanks in advance
ierax