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

 Carry over data to next function

Print topic Send  topic

Author Message
deagon

Posts: 31
Posted: 02/15/2007, 12:58 PM

I have multiple labels that display data and the data from the function above needs to be used in the other functions. How does one carry over data from one function to another? I used different methods non of them work. I'm using response.write and variable_name to see if the data came over. He doesn't.

Tks..
View profile  Send private message
DeanCovey


Posts: 22
Posted: 02/16/2007, 4:16 AM

How are you calling your function? Shouldn't it be function(Var)?

Are you sure your variable has a value at the time of the next function?
View profile  Send private message
deagon

Posts: 31
Posted: 02/16/2007, 6:40 AM

The function label has a EventCaller.value = CCDLookup("Sum(ordervalue)","Jobs","SalesRelease between '2007-01-01 00:00:00' and '2007-01-31 00:00:00'", DBconnection) the data is displayed and then I use another eventcaller.value and take that data and try to bring it over to the next function. It doesn't come over, I'm using response.write to see the data before the end function and its correct and after another function label is created, it does not carry over. This must be very simple I'm just missing a step somewhere.

8-)

TKS...
View profile  Send private message
Benjamin Krajmalnik
Posted: 02/16/2007, 10:49 AM

At the very top of the *_eventspasp page, right below the opening "<%" you
can Dim variables which will be globally available.
You can stiore information in them as needed.

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.

MS Access to Web

Convert MS Access to Web.
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.