Farooq Ahmed
|
| Posted: 09/29/2005, 8:16 PM |
|
I am using CCS, ASP and Access.
I have a search form. I want to search two fields -- email and relationship (relationship is listbox) with three different buttons like search feedback, add feedback and request feedback.
It should take user_id and relation_id to the target page.
How will I do it?
|
|
|
 |
kevind
Posts: 251
|
| Posted: 10/07/2005, 2:57 PM |
|
if the relation_ID is tied to the relationship listbox then it should be automatically passed, same for user_id assuming that is the same as e-mail.
From your posting I assume that the search buttons you are using all go to the same target page. So in the Events Panel for each button add an On Click Event and then add code like:
Session("FeedBack")="Search" for Search Feedback Button etc etc
Then in the target page adjust your forms and grids to use the Session Variable to control the data returned.
You can also use the CCAddParam function - I don't but, you can look it up - essentially it adds another parameter to the URL passed to the target page.
let me know how you make out
kd
_________________
thanks
Kevin
======================
CCS 3.2.x / ASP / MS Access /mySQL / PHP / jQuery / jQuery UI / jQuery Mobile
|
 |
 |
|