Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
Subreport Tutorial

Subreport Tutorial



|Views: 11,409|Likes:
Published by api-3700679

More info:

Published by: api-3700679 on Oct 18, 2008
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





Sub-Report tutorial for iReport
Lets create a sub-report call Employee’s Address using sub-report featuresDatabase SchemaEmployeeIDintegerfirst-namechar(30)last-namechar(30)AddressIDintegerStreetchar(30)Citychar(30)Statechar(10)Countrychar(30)Postal Codechar(30)Each employee can have 0 or more address, we will use thesub-report feature in iReport to generate thisReport.We are assuming the tables are created and the data ispopulated.
Start iReport.2.
Click on the menu File->New3.
Enter the name EmployeeAddress and press OK.4.
Save the report by pressing Ctrl-S or File
Save fromthe menu.
Use the Database->Connection menu option to setup yourJDBC option.6.
Use the Database->Query to setup rest of the fieldsand Click on Read fields, Register fields to Reportand Save to Report and the close the window.7.
Lets add a text-field by clicking text-field ICON fromthe toolbar in the detail band.8.
Lets add anothertext field to detailband to show last name,first name.

Activity (26)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Aris Widiantoro liked this
newage20 liked this
Suchitra Chanu liked this
Henock Demessie liked this
yuhc01 liked this
Emanuele Croc Testa liked this
MaRia Pastor Zapata liked this
Sajidur Rahman liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->