Re: How can I make this code better?

2008-10-22 Thread Rick Faircloth
Thanks for the feedback, Jim and Tom! Rick Jim Davis wrote: >> -Original Message- >> From: Tom Chiverton [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, October 22, 2008 5:38 AM >> To: cf-talk >> Subject: Re: How can I make this code better? >> >

RE: How can I make this code better?

2008-10-22 Thread Jim Davis
> -Original Message- > From: Tom Chiverton [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 22, 2008 5:38 AM > To: cf-talk > Subject: Re: How can I make this code better? > > On Monday 20 Oct 2008, Rick Faircloth wrote: > > First, what variables need to be

Re: How can I make this code better?

2008-10-22 Thread Tom Chiverton
On Monday 20 Oct 2008, Rick Faircloth wrote: > First, what variables need to be used in the code > and why is it important to do this? Everything that is local to the method. So cfquery names, the loop variables in cfloop, the cfhttp return scope etc. etc. etc. Yes, it does suck. Apparently CF9

RE: How can I make this code better?

2008-10-20 Thread Adrian Lynch
atabase of ColdFusion errors at http://cferror.org/ -Original Message- From: Rick Faircloth Sent: 20 October 2008 19:58 To: cf-talk Subject: Re: How can I make this code better? Thanks for the feedback, Adrian. I'm afraid I don't quite understand what you're wanting me to

Re: How can I make this code better?

2008-10-20 Thread Rick Faircloth
ally calling this remotely, > change it to public. If you are calling it remotely, you can't have optional > arguments, so doing the above will cause an error if you don't have > . > > Ermmm, that's all I can see. > > Adrian > Building a database of ColdFusi

RE: How can I make this code better?

2008-10-20 Thread Adrian Lynch
ve will cause an error if you don't have . Ermmm, that's all I can see. Adrian Building a database of ColdFusion errors at http://cferror.org/ -Original Message- From: Rick Faircloth Sent: 20 October 2008 19:03 To: cf-talk Subject: How can I make this code better? Hi, all... St

How can I make this code better?

2008-10-20 Thread Rick Faircloth
Hi, all... Still figuring out the best way to employ CFC's into my workflow. Now I'm working on incorporating CF validation into my code using CFC's. I've got a working solution, but would like some suggestions on how to improve it. Thanks for any suggestions! Rick Here's a slimmed-down versi