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 -> ASP

 Filling label with URL parameters?

Print topic Send  topic

Author Message
Don_S

Posts: 50
Posted: 11/30/2005, 2:26 PM

I have been tring to get this to work. I tried looking at older posts but can't seem to figure out what I am doing wrong.

I have the folowing code that I am putting into the Default Value of a label:
CCGetParam("Cust1","")

You can see the Cust1 in the URL but the value is not being passed into the Label.
Any ideas?

Don
View profile  Send private message
Edd


Posts: 547
Posted: 11/30/2005, 2:58 PM

Don,
I am going to ask some dumb questions but please take no offence.
1. This is only on the insert correct?
2. Is the label text?
3. Try using Request.QueryString("Cust1") and see if you get the same result.

Edd
_________________
Accepting and instigating change are life's challenges.

http://www.syntech.com.au
View profile  Send private message
Don_S

Posts: 50
Posted: 11/30/2005, 3:06 PM

Hi Edd,

Yes only on insert, the lable is actually a date passed from the date picker and I did try using the Request.Query but it did not work either.

Don
View profile  Send private message
Edd


Posts: 547
Posted: 11/30/2005, 4:45 PM

Don
Change the label to Text as dates get screwed up all the time based upon the server configuration OR add a beforeshow event that will output your desired result.
Edd
_________________
Accepting and instigating change are life's challenges.

http://www.syntech.com.au
View profile  Send private message
Don_S

Posts: 50
Posted: 12/01/2005, 9:15 AM

Ok, I have it working now. Actually my code was good the entire time, but I had the label in the row of a report table. I moved it out of the table and now it is working. I can't get it to change the font size but at least there is something there now LOL!

Thanks for all your help,
Don
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.