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

 read url

Print topic Send  topic

Author Message
rookie
Posted: 01/14/2004, 4:41 PM

Hi,
how can I fill a field with a value given by the url.
example: www.mysite.com?country=2

I have a field named "contry" in my CCS page, I need that field filled
automatically with the country value (in this case 2), the page that send
the url is not develop using CCS.

BlinkyBill

Posts: 86
Posted: 01/14/2004, 1:56 PM

Quote rookie:
Hi,
how can I fill a field with a value given by the url.
example: www.mysite.com?country=2

I have a field named "contry" in my CCS page, I need that field filled
automatically with the country value (in this case 2), the page that send
the url is not develop using CCS.

If you named your field "country" instead of "contry" it would automatically populated, assuming the record is in INSERT mode. Otherwise you could assign the value on say the before show event of the field using the the CCGetParam("country",-1) Note the second argument to the CCGetParam function is the default value to use if the param is not found.
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.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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