Ok. Let's assume your dump variable is a string, and it's called "tally". Let's also assume you are attaching your files to your mail using the cfmailparam tag.
<cfmail to="" from="" etc> This is your email body content <cfif len(tally)> <cfmailparam file="pathToYourFile"> </cfif> </cfmail> On Thu, Oct 13, 2011 at 3:21 PM, John Watts <[email protected]> wrote: > > >I think what Russ was trying to indicate was that you need a conditional > >statement to evaluate if there is data in the tally. Inside the > conditional > >you have your cfmailparam tag to attach the file. > > > > > > > >On Thu, Oct 13, 2011 at 2:07 PM, John Watts <[email protected]> wrote: > > > >> > How do you do that? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348116 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

