CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Pass a database filter via hyperlink CCS/ASP

Print topic Send  topic

Author Message
Nate
Posted: 07/12/2002, 3:17 PM

I am nearing the completion of my first CCS application. I have only the following challenge to resolve. Any help will be appreciated.

I want to create a menu containing three items (SC, TN, MS). When the hyperlink for a selection is selected, I want to pass a value(for example SC) to filter the grid. I only want the records that contain SC as an entry in the "State" column to be displayed.

If you can point me in the right direction, I would appreciate it.

Thanks much
Davenport
Posted: 07/13/2002, 1:20 AM

A Link field has a property called 'Source/Parameters' that you can use to specify the parameter to be passed to the grid form. In the grid form itself, you can use the 'Data Source' property to define an input parameter for the parameter that was passed by the link. When defining the input parameter, you can choose the operator to be used to match the value e.g Contains.
Nate
Posted: 07/13/2002, 2:54 AM

Great . . .

Thanks much, you have really been a big help.

Have a good one.

Nate
Nate
Posted: 07/13/2002, 3:54 AM

I have attempted to configure the link per the above recommendation with no success. Please review the info below and tell me where I am going wrong.

I provide the following input to the "paramete/source" property of the link control:

HREF Source
Link type = page
Link parameter = state

Link parameter
Sourche type = URL
Parameter Source = state=SC (the grid is setup for the state parameter, SC is the value that I want to pass to the grid)
Parameter name = state

When I click on "Live", the page is blank, the link is not displayed.

Thanks much.
Nate
Posted: 07/14/2002, 3:19 PM

Please ignore this post, I found out that I was not inputting the proper values for the link control.

Thanks much . . .

   


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.