CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Add URL paramater in CF

Print topic Send  topic

Author Message
oleung

Posts: 15
Posted: 02/16/2005, 2:54 AM

Hi all,

It would be great if someone can show me how to add URL parameters in CF by calling function.

Thanks.
View profile  Send private message
E43509

Posts: 283
Posted: 03/01/2005, 10:18 PM

This may help you, here is a code snippet from one of my projects:
I put this code in an event. to create something like:
questions.cfm?ques_pk=4&s_ques_num=10

<CFMODULE Template="..\CCAddParam.cfm" strQueryString="#CCGetQueryString#" strName="QUES_PK" strValue="#copy_ques_pk#" outputVar="CCGetQueryString">
<CFMODULE Template="..\CCAddParam.cfm" strQueryString="#CCGetQueryString#" strName="s_QUES_NUM" strValue="#copy_ques_num#" outputVar="CCGetQueryString">

<CFSET strRedirect = "Questions.cfm">
<CFSET strRedirect = strRedirect & "?" & CCGetQueryString>

I stole this code by looking at how CCS generated something similar, so I override their data and put in mine
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.