CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Search through through 3 buttons

Print topic Send  topic

Author Message
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
View profile  Send private message

Add new topic Subscribe to topic   


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

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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