I would suggest that you include a complete <cfdocument opening and closing tag 
in each cfif statement:

<cfif xxxxx>
     <cfdocument format="pdf">
          build document here....
     </cfdocument>
<cfelse>
    <cfdocument format="pdf">
          build alternate document here....
     </cfdocument>
</cfif>

This way round the compiler will not give a closing tag error.

I hope this helps.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:257724
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to