nag
Posts: 2
|
| Posted: 02/08/2005, 8:48 AM |
|
I need help in multiselecting the values in the listbox. i tried with the example in example pack but cloulnt help me.
Thanks in advance
|
 |
 |
peterr
Posts: 5971
|
| Posted: 02/08/2005, 10:33 AM |
|
What kind of help do you need in addition to the example? Or which part of the example did you have problems with?
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
nag
Posts: 2
|
| Posted: 02/08/2005, 10:53 AM |
|
I have table name tt_test whish has the fields name, age, job.
In the front end i need to serach may be job from the listbox.
Name Job
john programmer
lucy analyst
david programmer
Tom manager
Now i need to search from the listbox which select the multi values.
Can you please help me with this
Thanks
Quote peterr:
What kind of help do you need in addition to the example? Or which part of the example did you have problems with?
|
 |
 |
peterr
Posts: 5971
|
| Posted: 02/08/2005, 11:09 AM |
|
Do you need help with creating a multi-select listbox (HTML), or using multiple values that were selected to filter a grid?
In any case, such example is available in our Knowledge Base application (page "kb_search_incl3"). CCS users can request it at http://www.yessoftware.com/ccsprojects/indexkb.php.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
nag22
|
| Posted: 02/09/2005, 8:30 AM |
|
i tried to use that example but when i multiselect it is returning o rows.
plz help me
Quote peterr:
Do you need help with creating a multi-select listbox (HTML), or using multiple values that were selected to filter a grid?
In any case, such example is available in our Knowledge Base application (page "kb_search_incl3"). CCS users can request it at http://www.yessoftware.com/ccsprojects/indexkb.php.
|
|
|
 |
Nicole
Posts: 586
|
| Posted: 02/10/2005, 2:30 AM |
|
Hello,
Have you tried the approach used in Search Form with Multi-select ListBox example?
The online version is available at http://examples.codecharge.com/ExamplePack/MultiSelectS...electSearch.php
It is a sample from CCS Example Pack solution, so you can follow the instruction and create similar listbox in your project.
BTW, if you get incorrect recordset you can print the generated query for debug purpose and test it against your database. It helps to identify the problem. Sample code
global $form_name;
echo CCBuildSQL($form_name->ds->SQL, $form_name->ds->Where, $form_name->ds->Order);
_________________
Regards,
Nicole |
 |
 |