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

 Sending data to another page

Print topic Send  topic

Author Message
Brad
Posted: 05/05/2005, 7:07 PM

I've developed a front end to a database using codecharge, now I'd like to
send the data from a grid (or record) to an ASP page I've developed outside
of codecharge in the url. Is there a way?

TIA

Nicole

Posts: 586
Posted: 05/06/2005, 2:07 AM

Brad,
You can use Link control and add a parameter you want to pass to its Href property. The Link control is described in this Help article
http://docs.codecharge.com/studio/html/Components/Objec...erence.html?toc
In case you need to pass parameter after form submit (or something like that) then modify Redirect variable that stores target page name and parameters string. There following links could help
http://docs.codecharge.com/studio/html/index.html?http:...meters.html?toc
http://docs.codecharge.com/studio/html/index.html?http:...tUsers.html?toc

_________________
Regards,
Nicole
View profile  Send private message
Tamer2
Posted: 05/10/2005, 11:11 AM

Hello,

I need to do the same without exposing the variable to the users. If I use the Link control, it will be visible to the user.
I tried to use post form while the variables ar hidden in the form. however it's not working


Quote Nicole:
Brad,
You can use Link control and add a parameter you want to pass to its Href property. The Link control is described in this Help article
http://docs.codecharge.com/studio/html/Components/Objec...erence.html?toc
In case you need to pass parameter after form submit (or something like that) then modify Redirect variable that stores target page name and parameters string. There following links could help
http://docs.codecharge.com/studio/html/index.html?http:...meters.html?toc
http://docs.codecharge.com/studio/html/index.html?http:...tUsers.html?toc

peterr


Posts: 5971
Posted: 05/10/2005, 1:07 PM

Oh, why do I always feel that there is no solution for problems described as " it's not working"... :-(
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Nicole

Posts: 586
Posted: 05/11/2005, 2:58 AM

Tamer,
Let me provide some explanation how CCS record form works. WWWhen it is submitted the input control values are passed from the form using POST method. But they are passed to the same page where action code is executed (table update for record form) and then user is redirected to the Return page with the help of Redirect variable that stores a return page name and parameters string. In fact response.redirect code is fired, you can check it in any page .asp file. That's why you see parameters in URL.
The workaround is to store values you want to pass in custom session variables.

_________________
Regards,
Nicole
View profile  Send private message
peterr


Posts: 5971
Posted: 05/11/2005, 11:35 AM

You can simply change the URL of your form's action (<form action=...> in the HTML, so that it points directly to your external Web page and submits your POST values there.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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