Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » don't want Parameters to be mandatory(I want to remove the mandatory option for the parameters in birt report designer)
don't want Parameters to be mandatory [message #1058526] Tue, 14 May 2013 12:01 Go to next message
sonam mantri is currently offline sonam mantri
Messages: 4
Registered: May 2013
Junior Member
i want the parameter mandatory option to go away.
when i dont select any value from the list it should give all the values present for that report.
is there any way to disable the mandatory option?

please help...
its really very urgent...


index.php/fa/14802/0/

  • Attachment: birt.JPG
    (Size: 18.92KB, Downloaded 136 times)
Re: don't want Parameters to be mandatory [message #1058776 is a reply to message #1058526] Wed, 15 May 2013 03:10 Go to previous messageGo to next message
Michael Williams is currently offline Michael Williams
Messages: 1595
Registered: July 2009
Senior Member

You can set a default value to "All" and check the value in your beforeOpen of your dataSet and modify your query. Or, you can uncheck the isRequired box in your parameter editor and then do the same type of beforeOpen script. If you'd like a simple example, let me know your BIRT version.

Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.

[Updated on: Wed, 15 May 2013 03:13]

Report message to a moderator

Re: don't want Parameters to be mandatory [message #1058784 is a reply to message #1058776] Wed, 15 May 2013 05:26 Go to previous messageGo to next message
sonam mantri is currently offline sonam mantri
Messages: 4
Registered: May 2013
Junior Member
BIRT Report Designer Version is 4.2.2

alresdy tried unchecking isRequired box, but it does not work.
Re: don't want Parameters to be mandatory [message #1058948 is a reply to message #1058526] Wed, 15 May 2013 22:09 Go to previous message
Michael Williams is currently offline Michael Williams
Messages: 1595
Registered: July 2009
Senior Member

Take a look at this report. I included both options. Look in the before open script of each table's dataSet.

Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Previous Topic:getting row count of table/dataset
Next Topic:possible to have a dynamic date x axis
Goto Forum:
  


Current Time: Thu Sep 18 01:49:55 GMT 2014

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

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