Link to home
Start Free TrialLog in
Avatar of Shawn
ShawnFlag for Canada

asked on

Invalid tag nesting configuration

Am trying to perform two CFOUTPUTS using two differnet query attributes. Help please.
this one works
<cfoutput query="MasterCause"><cfif MasterCause.CauseID eq 4>#MasterPhrase.Part1# #MasterVariables.VariableDemoName# #MasterPhrase.Part2A# #MasterCause.CausePhrase#<br /></cfif></cfoutput>
 
but when I want to show only a specifc record ID for MasterVariables I get the error.
<cfoutput query="MasterCause"><cfoutput query="MasterVariables"><cfif MasterCause.CauseID eq 4><cfif MasterVariables.VariableID eq 2>#MasterPhrase.Part1# #MasterVariables.VariableDemoName# #MasterPhrase.Part2A# #MasterCause.CausePhrase#<br /></cfif></cfif></cfoutput></cfoutput>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of erikTsomik
erikTsomik
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Shawn

ASKER

works perfect. thank you.