I think there will be some documents coming online soon. In the meanwhile, you can take a look here:
http://blogs.msdn.com/tudortr/archive/2005/11/03/488731.aspx
Hope that helps
Tudor
|||Thank you very much -- that will help!I think there will be some documents coming online soon. In the meanwhile, you can take a look here:
http://blogs.msdn.com/tudortr/archive/2005/11/03/488731.aspx
Hope that helps
Tudor
|||Thank you very much -- that will help!SELECT LEFT(ADDRESS, X) AS A1
FROM GTW_BUSINESS_PARTNER
Has anybody got any ideas how this can be done.
Many thanks
From a performance point of view it is probably best, to perform the string splitting operation directly in the SQL statement or in a stored procedure.
If you want to do it with RDL expressions in the report, you could use the VB Split function as follows:
To get the first line: =Split(Fields!Address.Value, VbCrLf)(0)
To get the second line: =Split(Fields!Address.Value, VbCrLf)(1)
Notes:
* VbCrLf means Cr+Lf, you can also try VbCr if you only have Cr between the lines.
* The VB Split function will result in bad performance if used very often (e.g. called multiple times for thousands of rows in the report)
-- Robert
|||The SQL character (ascii) for carriage return is char(13) - char converts to ascii character..... does this point you in the right direction?SELECT LEFT(ADDRESS, X) AS A1
FROM GTW_BUSINESS_PARTNER
Has anybody got any ideas how this can be done.
Many thanks
From a performance point of view it is probably best, to perform the string splitting operation directly in the SQL statement or in a stored procedure.
If you want to do it with RDL expressions in the report, you could use the VB Split function as follows:
To get the first line: =Split(Fields!Address.Value, VbCrLf)(0)
To get the second line: =Split(Fields!Address.Value, VbCrLf)(1)
Notes:
* VbCrLf means Cr+Lf, you can also try VbCr if you only have Cr between the lines.
* The VB Split function will result in bad performance if used very often (e.g. called multiple times for thousands of rows in the report)
-- Robert
|||The SQL character (ascii) for carriage return is char(13) - char converts to ascii character..... does this point you in the right direction?Extracting,Sql,Sql Server