• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

iReprot/JasperReport questions

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there,
I have some problems to understand and achieve the results I want. Let's say I have two tables, one for students and the other for courses.
I want to display the student details and the courses he/she did listed beside his/her details in the report. This will lead to two SQL statements:
select * from students
select * from courses where courses.studentID = students.studentID (which will be retrieved from the first statement)
Now, what I use for the second statement? A subreprot?
1.I want to use this report within my application, so the report will depend on the search result (same design) What to read about this?

I really appreciate any links or answers,
Thanks
 
He was expelled for perverse baking experiments. This tiny ad is a model student:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic