Managed to create a Ireport that hangs OpenVPMS

Hey guys,
I'm not sure why but while testing this ireport created Patient Letter I managed to create a consistent hang in OpenVPMS.

I was testing what happened when text was forced into a second page. To do this I had expanded the font in a couple of the parameter fields and filled them with text. When the text fits on one page this template works fine. As soon as text wants to wrap around the app will hang.

The report is an interesting one.

It contains some fun things like working conditional headers and text blocks.
We use it as a referral letter template and to get around the 300 char limit I have created multiple fields under sub headings. If I dont type anything in the parameter, the subheading and the field dont appear.

It also demonstrates that the OpenVPMS parameter dialog does struggle a bit to show multiple fields in multiparameter reports. Its not the end of the world. The dialog can be easily resized.

Cheers,
Matt C

Comment viewing options

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

Re: Managed to create a Ireport that hangs OpenVPMS

Hi Matt,

I believe this will happen if the detail band in the report is too small for 1 of the fields to fit. Jasper reports will see if there is enough space for the field to be printed and if not then bump to the next page and then try and place field on that page. If field is actually bigger then maximum size of detail band again it will continue to bump in an infinite loop.

I am not sure if this is fixed in later jasper reports versions but will do some checking on the net ..

Tend to think jasper reports not really suited to printing large blocks of text. Best done using open office I think ...

Cheers Tony

_______________________________________________ OpenVPMS User Mailing List users@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/users Posts from this mailing list can be viewed online and replied to in the OpenVPMS User's forum- http://tinyurl.com/openvfu

Re: Managed to create a Ireport that hangs OpenVPMS

Thanks Tony, I understand.

I had this letter in Openoffice but was unsure of how variable sized fields of text would be arranged to fit. Also I know how to use conditional fields in Ireport and whilst I have done it in Open Office it might take me a while to remind myself how to do it again :)

I will have a crack at getting it to work in OpenOffice and post if I need any help. Thanks again! Matt C

On Mon, 07 Sep 2009 09:32:11 +1000, Tony De Keizer

wrote:

> Hi Matt, > > I believe this will happen if the detail band in the report is too small > for > 1 of the fields to fit. Jasper reports will see if there is enough space > for the field to be printed and if not then bump to the next page and then

> try and place field on that page. If field is actually bigger then maximum

> size of detail band again it will continue to bump in an infinite loop. > > I am not sure if this is fixed in later jasper reports versions but will do

> some checking on the net .. > > Tend to think jasper reports not really suited to printing large blocks of

> text. Best done using open office I think ... > > Cheers > Tony > > > _______________________________________________ > OpenVPMS User Mailing List > users@lists.openvpms.org > To unsubscribe or change your subscription visit: > http://lists.openvpms.org/listinfo/users > Posts from this mailing list can be viewed online and replied to in the > OpenVPMS User's forum- http://tinyurl.com/openvfu >

_______________________________________________ OpenVPMS User Mailing List users@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/users Posts from this mailing list can be viewed online and replied to in the OpenVPMS User's forum- http://tinyurl.com/openvfu

Syndicate content