R2i DotNetNuke® Forum

R2i wants you to have the opportunity to ask questions, post reviews, help others or just rant and rave about DotNetNuke® or any of the R2i Modules and Skins. Our team spends hour upon hour, day after day, working on custom DotNetNuke® modules and services; please feel free to ask us anything.
 
EXECUTE action within Conditional IF issue-
Last Post 01 Jan 1900 05:00 AM by . 1 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Informative
jarra64User is Offline
New Member
New Member
Posts:30

--
15 Jun 2006 07:41 PM  
I have a strange issue. I have several conditional IF actions. It appears that if one of the IF conditions executes a query that all IF actions below it are not executed. Here is a representation of my structure:

01: IF <condition>
02: <actions>
03: <EXECUTE Query>
04: ELSE
05: <actions>
06: IF <condition>
07: <actions>
08: <EXECUTE Query>
09: ELSE
10: <actions>
11: IF <condition>
12: <actions>
13: <EXECUTE Query>
14: ELSE
15: <actions>
16: IF <condition>
17: <actions>
18: <EXECUTE Query>
19: ELSE
20: <actions>
.
.
.

If the condition on line 6 is true and executes the query on line 8, then ALL the IF statements below it are not even evaluated.
jarra64User is Offline
New Member
New Member
Posts:30

--
16 Jun 2006 12:06 AM  
After some more testing this seems to be a wider issue than I'd originally thought. I am not able to get any IF statements to evaluate if they are placed after a previous IF statement that evaluated as true.
You are not authorized to post a reply.

Active Forums 4.1
 

New York, NY • Baltimore, MD • Vienna, VA • St. Louis, MO • Seatle, WA • 410.327.0007 • info@R2Integrated.com

Bookmark & Share Bookmark and Share