|
-
Mar 13th, 2002, 10:25 AM
#1
Thread Starter
Addicted Member
SQL SERVER Question
Do anybody know how to give a line feed (or carriage return) in SQL Server query or in Crystal Reports?
I want something like below
Select f_name + (carriage return) + l_name from employee
If it is not possible then how to do in Crystal Report (formula)?
Thanks for breaking ur heads for me.
-
Mar 13th, 2002, 10:56 AM
#2
Member
SQLServer Carriage Return = Char(13)
SQLServer Line Feed = Char(10)
You really need to combine the both for a complete new line to be recognised in text or rtf format.
So in your example it would look something like this:
Select f_name + Char(13) + Char(10) + l_name from employee
WuzZ
-
Mar 13th, 2002, 11:05 AM
#3
Thread Starter
Addicted Member
Thanks it works
Looks Simple. But didnt come in my mind.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|