I am new to JasperReports and am used to the ease of MS Access, so bear with me.

I have 2 time fields that I need to figure the time difference between.  So, I created a scriptlet that does this and returns it as a double where hours is the whole part, good.

Now, I need to divide another field by this field ( amount of something per hour ) and then figure out a percentage of estimated vs. actual ( amount of something per hour / 100 ).  Further, in the footer I need to sum up the number of hours and repeat the same arithmetic for the fields.  I have no idea how to do this.  I thought custom field or something of the like, but I don't think this does what I think it does.


Any help would be appreciated!

Thanks,
Dave

Reply via email to