CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Please help with multiselect listbox!!!!!!!

Print topic Send  topic

Author Message
smerkel
Posted: 02/12/2003, 7:31 AM

I am using ccs2 with ms access.

If I select more than one option from a multiselect list box on a search form, my results grid will not return the matching records. I can not figure out why this is not working correctly. Could someone please, please provide me with a suggestion or an example to make this work!? Thanks very much!
Mehmet Ozdemir
Posted: 02/12/2003, 1:12 PM

Assuming your using ASP Response.Write and Response.End, learn to use them. They can help in situations like this. By Response dot writing the Form item for your multiselect list box you will notice that the multi selected items are comma delimited, eg

Response.Write Request.Form("s_ID")
Response.End

2, 3, 4

that this point based on the default query builder sql statement the script will simply substitute 2, 3, 4 in the place holder of the sql statement ie {s_ID}. You will either need to parse this returned value or use an IN clause instead of just WHERE ID = {s_ID} eg: WHERE ID IN({s_ID}). I have



   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.