Active client report not running

Hi All,

I have just tried to run the Active Clients by Month, & Active Clients by Year & they come up with an error - 'null range specified'. All the other reports that I have set up seem to run OK. Any ideas?

Glen

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Active client report not

Its a bug in jasper reports (the report engine OpenVPMS uses). It actually means there is no data in the report to print.

If you do a Preview of the same report, you will get a blank PDF document.

 

Its being caused by the "When No Data" property set in the Active Clients by Month.jrxml report template.

This is currently set to "No Pages" - when there is no data, jasper doesn't generate any pages for the report.

When you attempt to print, it tries to print page 1, which of course doesn't exist when there is no data.

 

A workaround would be to change the "When No Data" in the template to one of the other options, using iReport i.e:

* All Sections, No Detail

* Blank Page

* No Data Section

 

-Tim

 

 

Re: Active client report not

Thanks for the reply Tim. I am a bit like Tony Abbott (not a 'tech-head') & unfortunately have no idea what you said other than that there is a bug as a cause for the report not working. I didn't understand if this was a problem for everyone trying to run this report or whether it was just some systems? Is there a way around it that I might be able to sort out, or does a new report have to be written?Sorry to sound so blond. Glen On 2 September 2010 21:52, <tma@netspace.net.au> wrote:

Its a bug in jasper reports (the report engine OpenVPMS uses). It actually means there is no data in the report to print.

If you do a Preview of the same report, you will get a blank PDF document.   Its being caused by the "When No Data" property set in the Active Clients by Month.jrxml report template. This is currently set to "No Pages" - when there is no data, jasper doesn't generate any pages for the report. When you attempt to print, it tries to print page 1, which of course doesn't exist when there is no data.   A workaround would be to change the "When No Data" in the template to one of the other options, using iReport i.e: * All Sections, No Detail * Blank Page * No Data Section   -Tim     _______________________________________________ OpenVPMS User Mailing List users@lists.openvpms.org To unsubscribe or change your subscription visit: //lists.openvpms.org/listinfo/users" target="_blank">http://lists.openvpms.org/listinfo/users Posts from this mailing list can be viewed online and replied to in the OpenVPMS User's forum- //tinyurl.com/openvfu" target="_blank">http://tinyurl.com/openvfu

-- Greenvale Animal Hospital

Active client report not

All it means is that no records matched your query parameters.

 

Try changing the parameters and re-run the report.

 

-Tim

Syndicate content