Jump to content

where to put my parameter?


cactusbeef

Recommended Posts

I have master repot it contain  image , Company name and so on in title I have a subreport in head, store relate information, such as name , location , state ans so on , the parameters are  passt from web. where I shouls put my parameters? in master or subreport ?

Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Question was:
>>where I shouls put my parameters? in master or subreport ?

In example
http://community.jaspersoft.com/wiki/subreports

field $F{ID} passed from main report to parameter $P{ID_PERSON} of subreport

You can pass param into main report.  Fro example $P{myParam1} from your application
After that you can pass $P{myParam1} from main report to subreport

There are no fundamental deffirences between pass field or parameter of main report to subreport.
I can't understand your problem (or doubt?). You got enouph information to solve your problem.
Just do it.

Good luck

 

Link to comment
Share on other sites

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