Skip to main content



      Home
Home » Archived » BIRT » Forbid converting String to Date format(The string may containt date information)
Forbid converting String to Date format [message #1066040] Sat, 29 June 2013 05:45 Go to next message
Eclipse UserFriend
Hello.
I have an SQL DataSet with a String Info attribute.
It is used in DynamicText like
'Info: <span style...>'+row["INFO"]+'</span>'

Usually Info attribute comes with some normal text, but sometimes it may containt just a date: '01.06.13' - still being a String!
The problem is when Info comes with a date in its string value report output is like:
"Info: Sat Jun 01 0013 00:00:00 GMT+0400 (MSK)"
while I need just
"Info: 01.06.13"

And seems I can't use a date formatter because usually Info is not a date.
How to forbid BIRT converting '01.06.13' String to date format?

Thanks.
BIRT 4.2.

[Updated on: Sat, 29 June 2013 05:49] by Moderator

Re: Forbid converting String to Date format [message #1066891 is a reply to message #1066040] Fri, 05 July 2013 01:39 Go to previous message
Eclipse UserFriend
Are you able to reproduce this with any database type? Or only with your SQL dataSet?
Previous Topic:Problem with Trend Charts
Next Topic:Hide/Remove unused emitters in viewer
Goto Forum:
  


Current Time: Wed Mar 26 20:38:39 EDT 2025

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

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

Back to the top