CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Multi-Select Listbox search in grid

Print topic Send  topic

Author Message
Ashiff
Posted: 07/04/2003, 12:18 AM

Hi,

The multiselect option in listbox is one really useful tool. I built a page using grid builder and added a search option with 4 listboxes which I later converted into multiselect listbox.

Now the problem is whenever I search for first time I get results OK. If i do the second time the first time query too is merged resulting in error as first query was select all where there was no definite value and second query had a definite value. The error given was like the value of the variable is not valid (,1). Now I even removed preserve HTTP requests and still I get it. I use PHP and MySQL. PLease help me in this regard
rrodgers
Posted: 07/04/2003, 7:53 PM

You don't say what tool you are using CC or CCS?

With CCS2+ Yes provided quite a few examples in something called the Example Pack one of those was the multiselect search.

Look for.
Working with Multiple Selections
<snip>
Search Form with Multi-select ListBox

rob
Ashiff
Posted: 07/05/2003, 9:42 AM

I use CCS 2.1 and multiselect works fine with text column as sql comparator is "like" operation but fails in numeric operation because select all has no value associated and say USA might have one associated in the multi select box so when sql select is performed it gives an error.

Can you also tell me how I can get Multi select Listbox checked type like the one in VB


   


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

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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