Nov 20, 2002 #1 ashishh Programmer Jul 19, 2002 43 US I would like to print a concatenated "First Name" and "Last Name" with a space between. How can I achieve this? Thanks, Ashish
I would like to print a concatenated "First Name" and "Last Name" with a space between. How can I achieve this? Thanks, Ashish
Nov 20, 2002 #2 rhinok Technical User Mar 21, 2001 749 US {table.firstname}+" "+{table.lastname} Upvote 0 Downvote
Nov 20, 2002 Thread starter #3 ashishh Programmer Jul 19, 2002 43 US I have tried this before. It does not work. To give a background, I am using this SQL Expression field in CR8.5 and want to print it this way. FirstName LastName Upvote 0 Downvote
I have tried this before. It does not work. To give a background, I am using this SQL Expression field in CR8.5 and want to print it this way. FirstName LastName
Nov 20, 2002 #4 CuteGeek MIS Nov 20, 2002 12 US Example: {FirstName} + {LastName} You have to put a space before and after + Upvote 0 Downvote
Nov 20, 2002 #5 synapsevampire Programmer Mar 23, 2002 20,180 US That depends on the database, but if you're using the SQL Expression, it would likely be: {table.firstname}+' '+{table.lastname} It may also be that you need: ltrim(rtrim({table.firstname}))+' '+{table.lastname} (sorry if this posts multiple times, having problems today with connectivity) -k http://www.informeddatadecisions.comkai@informeddatadecisions.com Upvote 0 Downvote
That depends on the database, but if you're using the SQL Expression, it would likely be: {table.firstname}+' '+{table.lastname} It may also be that you need: ltrim(rtrim({table.firstname}))+' '+{table.lastname} (sorry if this posts multiple times, having problems today with connectivity) -k http://www.informeddatadecisions.comkai@informeddatadecisions.com
Nov 20, 2002 Thread starter #6 ashishh Programmer Jul 19, 2002 43 US Yes. It does work. I had been trying to use with double quotes and that's what was not working. Thanks for your help guys. Ashish Upvote 0 Downvote
Yes. It does work. I had been trying to use with double quotes and that's what was not working. Thanks for your help guys. Ashish