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..
|
 |
 |
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?
|
 |
 |
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.

TKS...
|
 |
 |
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.
|
|
|
 |
|