JasperReports: Problem printing an 1 to n relation
JasperReports: Problem printing an 1 to n relation
- Subject: JasperReports: Problem printing an 1 to n relation
- From: Mike Bobkiewicz <email@hidden>
- Date: Thu, 23 Nov 2006 16:20:18 +0100
Hi,
I´m a bit in trouble while trying to print an 1 to n relation with
jasperreports. What I want to print is just a simple bill which
includes 3 tables: customer, bill, positions having the following
relations customer to bill 1 to n, bill to positions 1 to n. To
access the reports I´m using the classes from the jasper demo from
wocode.com. These classes require an NSArray as parameter containing
the data to be printed. So I take the displayed bill put it into a
new NSArray and pass it over. But I can´t figure out how the field
parameter in the report have to look like. Printing data directly
from bill object is no problem (just fieldName) also printing
customer fields work fine (customer.fieldName) but I can´t bring the
positions to work for me which are stored inside a NSArray. I´ve
tried a dozen ways relation.fieldName to get them go but no way. Best
I can get is a NSKeyValueCoding$UnknownKeyExpression <fieldName>. Any
help would be welcome.
Best regards,
Mike Bobkiewicz _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden