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

Date field parameters


paauwtje

Recommended Posts

 Hi Guys,

We created a query in iReport designer which is working.

The report should display the activities within a certain period.

We would like to fill in this period ourselfes.

In iReport designer it is working.

On Jasper Server it wil ask for 2 dates but after that it sin't showing anythin at all.

But in iReport designer it is showing the correct info.

 

Does someone has an idea what goes wrong overhere?

I attached the code we are using right now.

 

Code:
SELECT     DateDiff(MINUTE,work_report.from_time,work_report.to_time) AS TotalMIN,     work_report."service_req_id",     company."company_name",     service_req."request_user",     service_req."problem_type" AS First_lvl_category,     service_req."problem_sub_type" AS second_lvl_category,     service_req."third_level_category",     service_req."title" AS second_lvl_category,     service_req."solution" AS second_lvl_category,     work_report."from_time" AS second_lvl_category,     work_report."to_time" AS second_lvl_category,     work_report."description" AS Activity_descrFROM     "work_report" work_report INNER JOIN "service_req" service_req ON work_report."service_req_id" = service_req."id"     INNER JOIN "sysaid_user" sysaid_user ON service_req."request_user" = sysaid_user."user_name"     INNER JOIN "company" company ON sysaid_user."company" = company."company_id"WHERE     work_report.from_time BETWEEN $P{StartDate} AND $P{EndDate}
Link to comment
Share on other sites

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

 When you configure the server to generate report, one of the requiered steps is to define "input control", that componant will prompt you to specify value when you choose the report.

Do you have a documention for the jasper server? (user guide or admin guide)

Link to comment
Share on other sites

hi i m the be student we r doing automaded attendance system project in that we have to create report in jasper report using mysql database and apache tomcat bt we dnt find any way how to create that and how to connect mysql,tomcat and jasper report if u know plz help us...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...