Jump to content
We've recently updated our Privacy Statement, available here ×

mbmorgan

Members
  • Posts

    39
  • Joined

  • Last visited

Community Answers

  1. mbmorgan's post in Adding multiple items in the same report was marked as the answer   
    You can add charts and tables to any band of the report you want.  Consider using subreports also to contain the tables and charts.
    Please elaborate on what you are trying to accomplish.
    Thanks,
    M.B.Morgan
  2. mbmorgan's post in Facing problems creating Input-Control Parameters was marked as the answer   
    Hi, a few suggestions:
    "I need to create one date Input-control which will be in relation like (from date - to date. )" - This sounds like you actually need two date-based input controls, Start_Date and End_Date for example.
    In Jaspersoft Studio, make sure the date parameter is of class java.sql.Date.
    In JR Server, when you set up and edit the input control, on the "Create Input Control" page, select "Single Value" as the type (make it also Mandatory and Visible if it's necessary to run the report). Then, on the "Set the Datatype Kind and Properties Page", select "Date" as the type. You can enter optional max and min values there.
    Your report query should look something like:
    "select * from table
    where date_column >= $P{Start_Date} and date_column <= $P{End_Date}..."
    I am a new Jasper developer and I had this same problem recently. This solution is what worked for me.
    Good Luck,
    M.B.Morgan
  3. mbmorgan's post in Where did my bands go??? was marked as the answer   
    By "close up", do you mean that you shrunk them to 0 height, or that you completely deleted them from the report?
    In either case, first go to the "Outline" pane in Jaspersoft Studio, then right click the band in question.
    If the height was simply reduced to zero, but the band is still in the report, select "Show Properties" from the context menu, click "Appearance" in the "Properties" pane, then adjust the Height field under the "Band Properties" heading...keying in "20 px" should be sufficient for it to appear wide enough to adjust on screen.
    If the band was completely removed from the report, simply select "Add Band" from the context menu, then it will be added to the report, and the properties are available to modify.
    Good luck,
    M.B.Morgan
     
     
×
×
  • Create New...