IT SOLUTIONS
Your full service technology partner! 
-Collapse +Expand
ASP Classic
Search ASP Classic Group:

Advanced
-Collapse +Expand ASP Classic Store

Prestwood eMagazine

December Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyASP Classic Coding BoardASP Classic Coding Topic   Print This     

Help with a loop

Help with a loop in ASP Classic Coding topic (part of our ASP Classic Coding group).

Quick Search: loop  
aka51
MD

the code below for some odd reason will not work. The values for the session variables are being assigned when a database is queried. but for some reason if the session variable is empty it goes onto the else portion of the statement

 

if Session ("aoemail1") = "" then
strTo = strTo &"here"
else
strTo= strTo & Session ("aoemail1")
strTo= strTo & ";"
end if


if Session ("aoemail2") = "" then
strTo = strTo &"here"
else
strTo= strTo & Session ("aoemail2")
strTo= strTo & ";"
end if


if Session ("supemail2") = "" then
strTo = strTo &"here"
else
strTo= strTo & Session ("supemail1")
strTo= strTo & ";"
end if


if Session ("supemail2") = "" then
strTo = strTo &"here"
else
strTo= strTo & Session ("supemail2")
end if

Peace love and happiness
 Posted 18 years ago (Thread Starter)
Comment Quote
About aka51 -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.

Post ID #9771, 1 replies
Thread Started 7/3/2003 7:43:00 AM
View Counter=3578
Last Reply Posted 7/5/2003 6:50:00 PM)
Location=MD  
Joined=19 years ago   MB Posts=25  
Most Recent Post
cheddar
Lodi, CA
post the code that set's the values and the loop.
Eric Neff
C#, ASP.Net, SQL Server, Oracle
 Posted 18 years ago
Comment Quote
About cheddar -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.

Post ID #9774 (Level 1.1)  Reply to 9771
Thread Started 7/5/2003 6:50:00 PM
View Counter=2
Location=Lodi, CA  
Joined=20 years ago   MB Posts=88  

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P184A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #9771 Counter
3578
Since 4/2/2008

Regarding...

Linked Knowledge Base Article.

This thread is linked to the following KB article.


Mike Prestwood
1. Looping in ObjectPAL

Using loop structures in ObjectPAL (for, forEach, scan, while, and looping with timers).

Posted to KB Topic: OPAL: Language Details
13 years ago, and updated 12 years ago
(2 KB Comments)

Article
Nothing New Since Your Last Visit
16607
Hits

Corel Paradox / ObjectPAL Coding

Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site: 
www.prestwood.com


©1995-2021 Prestwood IT Solutions.   [Security & Privacy]