cftry/cfcatch - what the heck?

2005-11-11 Thread John Beynon
ok, here's a chunk of code; cftryPrices: pound;#numberformat(application.siteCodes.sitecode[thissitecode].pricerange.minprice)# - pound;#numberformat(application.siteCodes.sitecode[thissitecode].pricerange.maxprice)#/p cfcatch!--- invisibly catch errors---/cfcatch/cftry If the data is not

Re: cftry/cfcatch - what the heck?

2005-11-11 Thread Ryan Guill
It sounds like the data does not exist in the variable, but that the variable does exist... is that possible? A better way to do that would be to use structKeyExists() around your variables and test for them first. On 11/11/05, John Beynon [EMAIL PROTECTED] wrote: ok, here's a chunk of code;

Re: cftry/cfcatch - what the heck?

2005-11-11 Thread John Beynon
nevermind, senior moment - need more coffee! ok, here's a chunk of code; cftryPrices: pound;#numberformat(application.siteCodes. sitecode[thissitecode].pricerange.minprice)# - pound;#numberformat(application.siteCodes.sitecode[thissitecode]. pricerange.maxprice)#/p cfcatch!--- invisibly

Re: cftry/cfcatch - what the heck?

2005-11-11 Thread Sean Corfield
On 11/11/05, John Beynon [EMAIL PROTECTED] wrote: ok, here's a chunk of code; cftryPrices: pound;#numberformat(application.siteCodes.sitecode[thissitecode].pricerange.minprice)# - pound;#numberformat(application.siteCodes.sitecode[thissitecode].pricerange.maxprice)#/p cfcatch!---