Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » unnamed script error(compiled source: unnamed script error)
unnamed script error [message #1220416] Wed, 11 December 2013 15:40 Go to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 11
Registered: August 2011
Junior Member
Please help. I need this report for production and I am getting this error:

Compiled Source: unnamed script
params["statusDate"]
end compilation.

I have a date as a parameter and i have a default date for the parameter as a javascript:
BirtDateTime.addMonth(BirtDateTime.today(),-1).
Re: unnamed script error [message #1220605 is a reply to message #1220416] Thu, 12 December 2013 16:55 Go to previous message
Kristopher Clark is currently offline Kristopher ClarkFriend
Messages: 130
Registered: January 2013
Senior Member
Can you post more of your script?

this.text = BirtDateTime.addMonth(BirtDateTime.today(),-1)


In a label works for me from onCreate(). From what your error says it looks like you're needing to use params["statusDate"].value
Previous Topic:Conversion failed when converting date and/or time from character string.
Next Topic:Export Report Dialog - Is there a way to change the order of the Export Formats?
Goto Forum:
  


Current Time: Tue Mar 19 03:02:39 GMT 2024

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

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

Back to the top