Re: How would I code this line?

2006-08-26 Thread Robertson-Ravo, Neil (RX)
- From: Denny Valliant To: CF-Talk Sent: Sat Aug 26 03:37:28 2006 Subject: Re: How would I code this line? On 8/25/06, Bobby Hartsfield [EMAIL PROTECTED] wrote: cfset name = first_namemiddle_name last_name / cfif len(trim(suffix) cfset name = name , suffix / /cfif Sure

RE: How would I code this line?

2006-08-26 Thread Bobby Hartsfield
what scopes they are in and will apply them where they need to. ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Denny Valliant To: CF-Talk Sent: Sat Aug 26 03:37:28 2006 Subject: Re: How would I code this line? -Original Message

Re: How would I code this line?

2006-08-26 Thread Robertson-Ravo, Neil (RX)
: RE: How would I code this line? Are you serious? People... get a grip and stop being so anal. It's not my code so I'm allowed to be lazy and not scope it since it's basically pseudo. It showed the process of piecing the variables together regardless of what they were or how they were scoped. I'm

Re: How would I code this line?

2006-08-26 Thread Denny Valliant
On 8/26/06, Bobby Hartsfield [EMAIL PROTECTED] wrote: Are you serious? People... get a grip and stop being so anal. It's not my code so I'm allowed to be lazy and not scope it since it's basically pseudo. It showed the process of piecing the variables together regardless of what they were or

Re: How would I code this line?

2006-08-25 Thread Steve Bryant
Rick, You can't use cfif within a cfset like that. I think you cfsavecontent would be the best solution (best here being most readable and maintainable). cfsavecontent variable=Session.Client_Name #Get_New_Client.Client_First_Name# #Get_New_Client.Client_Middle_Name#

Re: How would I code this line?

2006-08-25 Thread Charlie Griefer
cfset session.clientname = get_new_client.client_first_name get_new_client.client_middle_name get_new_client.client_last_name / cfif len(trim(get_new_client.client_name_suffix)) GT 0 cfset session.clientname = session.clientname , get_new_client.client_name_suffix / /cfif On

RE: How would I code this line?

2006-08-25 Thread Andy Matthews
You could use ListAppend with space as the delimiter. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Rick Faircloth [mailto:[EMAIL

RE: How would I code this line?

2006-08-25 Thread Bobby Hartsfield
Missed a '' before middle_name but you get the idea ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Friday, August 25, 2006 10:10 PM To: CF-Talk Subject: RE: How would I code this line

Re: How would I code this line?

2006-08-25 Thread Denny Valliant
On 8/25/06, Bobby Hartsfield [EMAIL PROTECTED] wrote: cfset name = first_namemiddle_name last_name / cfif len(trim(suffix) cfset name = name , suffix / /cfif Sure that LOOKS readable, but you know CF will be running around trying to figure out which first_name field you're

Re: How would I code this line?

2006-08-25 Thread Zaphod Beeblebrox
cfset session.client_name = #GNC.Client_First_name#nbsp; #GNC.Client_Middle_Name#nbsp; #GNC.Client_Last_Name# ,nbsp;#GNC.Client_Name_Suffix / !--- Remove the last comma and nbsp if it's the last thing on the line --- cfset session.client_name =