ruby
Posts: 8
|
| Posted: 11/26/2004, 8:41 AM |
|
hi
can any body tell me
how to do search based on sessions
like i have two search s done
one serach form is done based on ids
so i retrive the ids and how i have a hyperlink to id label
which directs me to another page
now i just want to search all the details based on this id itself
i have been trying a lot but in vain i get all the ids irrespective of the one i select
can some bod y help me
thanks in advance
robin
|
 |
 |
kevind
Posts: 251
|
| Posted: 11/26/2004, 10:08 AM |
|
on the hyperlink make sure to add some parameters to the link - then on the page that you are calling, make sure that the data source for the grid or record being displayed uses those parameters to 'select' the data. You'll see the + sign to the left of the
check out the on-line tutorial:
http://docs.codecharge.com/studio/html/QuickStart/Creat...earchParam.html
You can get the ID's to filter on from the URL if passed in your hyperlink properties or from Session ID's.
Hope this helps.
Kevin
_________________
thanks
Kevin
======================
CCS 3.2.x / ASP / MS Access /mySQL / PHP / jQuery / jQuery UI / jQuery Mobile
|
 |
 |
ruby
Posts: 8
|
| Posted: 11/29/2004, 1:15 AM |
|
hi kevin
thanks for your suggestion
i tried your way but its still not working
its gives me all the ids result
regards
|
 |
 |
kevind
Posts: 251
|
| Posted: 11/29/2004, 3:59 AM |
|
Sometimes the parameter name 'ID' can end up in the link information multiple times for different ID's you are using in different tables.
Try making the parameter name different like 'DetailsID' and in the grid change the DataSource to use this name instead of plain old 'ID'. This should rule out mixing up the parameter names and values.
Let me know if that helps.
Kevin
_________________
thanks
Kevin
======================
CCS 3.2.x / ASP / MS Access /mySQL / PHP / jQuery / jQuery UI / jQuery Mobile
|
 |
 |