Jump to content

passing resultset as datasource to subreport


wizir

Recommended Posts

hello, i have a java code like

sql = "select * from product";
rs2 = db.execSQL(sql);
JRResultSetDataSource sDataSourceSub = new JRResultSetDataSource(rs2);

parameters.put("DATASOURCE", sDataSourceSub);

and how can i pass this parameter/datasource to subreport ???

i'll be appreciated for sample of code in ireport
thanks for help
best regards

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...