Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Problem with type "date"
Problem with type "date" [message #1063275] Wed, 12 June 2013 17:52 Go to next message
Fernando Aguada is currently offline Fernando Aguada
Messages: 4
Registered: January 2013
Junior Member
Hi all,

I have a problem when running a birt report, throws me the following message:

"org.eclipse.birt.report.exception.ViewerValidationException: The parameter "RPHaFec" is invalid. The value "31/05/2013" is invalid with the type "date"."

How I can format a date type parameter in format "dd/mm/yyyy"?

Best Regards

Ferd
Re: Problem with type "date" [message #1064130 is a reply to message #1063275] Mon, 17 June 2013 14:25 Go to previous messageGo to next message
Kristopher Clark is currently offline Kristopher Clark
Messages: 130
Registered: January 2013
Senior Member
Is the date parameter being passed in the URL or is the user entering it? When you create the Date Time parameter in the designer you can click the change button next to the "format as" field and select a format from that list. If none of those work you can create a custom format with the format code box at the bottom.
Re: Problem with type "date" [message #1064165 is a reply to message #1064130] Mon, 17 June 2013 18:30 Go to previous message
Fernando Aguada is currently offline Fernando Aguada
Messages: 4
Registered: January 2013
Junior Member
index.php/fa/15297/0/Hello Kristopher,

The user is entering the date.Now I tested modify the parameter in the designer, as you explain, however does not work.
Attached a picture. Any other suggestions?
A detail, I call the report from php !

Thank you, very much for answering.

Best regards,

  • Attachment: report.png
    (Size: 150.33KB, Downloaded 185 times)
Previous Topic:Filter Table by Expression: Last 7 Days
Next Topic:Bar Chart in Birt
Goto Forum:
  


Current Time: Fri Aug 01 01:57:31 EDT 2014

Powered by FUDForum. Page generated in 0.01533 seconds