Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Trimmed Leading Space Characters
Trimmed Leading Space Characters [message #486724] Fri, 18 September 2009 18:59 Go to next message
Mitch Christensen is currently offline Mitch ChristensenFriend
Messages: 35
Registered: July 2009
Member
Data in one of the columns in my database contains leading space characters. It is critical that this field remain intact, including leading whitespace.

Is there a way I can avoid having BIRT automatically truncate leading space characters in a Data element?

Thanks
-Mitch
Re: Trimmed Leading Space Characters [message #487050 is a reply to message #486724] Mon, 21 September 2009 16:33 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Mitch,

Look at the Format String either on the data item or style editor and
select custom and use the ^ format code to preserve whitespace.

Jason

Mitch Christensen wrote:
> Data in one of the columns in my database contains leading space
> characters. It is critical that this field remain intact, including
> leading whitespace.
>
> Is there a way I can avoid having BIRT automatically truncate leading
> space characters in a Data element?
>
> Thanks
> -Mitch
Re: Trimmed Leading Space Characters [message #499495 is a reply to message #487050] Mon, 23 November 2009 01:48 Go to previous message
Dave Inskeep is currently offline Dave InskeepFriend
Messages: 1
Registered: July 2009
Junior Member
Thanks, I was going nuts looking for this.

FWIW to anyone else looking for this it also helps if you're trying to force newlines via a Javascript expression, just embed "\n".
Previous Topic:dteapi.jar complete creation
Next Topic:previous/next group - referring to row by position
Goto Forum:
  


Current Time: Tue Dec 11 05:09:31 GMT 2018

Powered by FUDForum. Page generated in 0.02011 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top