|
-
Tornado - Export Variables
There is probably some simple solution for this but if it is, it's not obvious.
I'm using Tornado Gold and have done similar programming using Classic.
I need to capture a dropdown user selection as a variable. Simply, I'm using the dbStartup = to filter then I need to place that selection in a variable which is used in a comparison IF statement, to do whatever.
IF (variable = constant then
do something
else
do something else
end if
In capturing the filter result in a session variable it appears that it can only be used outside the WITH statement and after the .ASPdb.NET() statement.The variable is compaired using in an IF statement.
with z1
<.db statements>
.ASPDB.NET()
end with
note: IF statement will work here but the variable is outside the ASPdb.NET().
How do I use the exported data within the WITH and ASPdb.NET statements?
with z1
<.db statements>
need to use IF statement here
ASPdb.NET()
end with 
1/8/04 2:50pm
I believe I figured this out, no need of replying..... thanks, Paul
Last edited by paul mancuso; 01-08-2004 at 02:52 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|