Jump to content

Passing datasource to a subquery


j3grewal

Recommended Posts

Hi,

I want to pass a custom data source to a sub query. In some examples it was recommended to define the datasource as a parameter or field to main query and then pass that parameter or field as data source using (Data Source Expression property) of subreport element in iReport.

However, the property Data Source Expression of subreport element seems to be disabled in iReport. I tried changing the XML source to add this property but get a parser error about Xpath.

I would really appreciate if someone can point me in the right direction on how to set the custom datasource for the subquery and how should it be passed in to the fill manager.  Passing it as field or parameter to main query, is that the right approach?

Let me know if any clarifications or examples are required.

Thanks,
-jas

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...