Jump to content
We've recently updated our Privacy Statement, available here ×

just-passin-thru

Members
  • Posts

    1
  • Joined

  • Last visited

just-passin-thru's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare

Recent Badges

0

Reputation

  1. I'm trying to do exactly this now with jaspersoft studio 6.2 I have created the parameter based on a field from the main report. The report runs, when I display the data on the main report it prints but but is always blank on the table. I've spent literally hours on this reading just about every thread, but I couldn't find any clear direction that is current. Maybe its my data source settings (not mentioned here)? I've tried all sorts of variations from other threads, but always the textfield displaying the parameter in the table is empty. Is it not possible to pass a FIELD from main to a subreport or table? I've seen conflicting statements of differing age so I can't really tell what's true currently. I know I can just perform the query in the subreport. But I have a very efficient query in main so I see no reason to not just reuse the data. Why hit the db again when I've already pulled all the data I need. Thanks! UPDATE For anyone else that stumbles across this post, here's how I resolved it. Don't know why it didn't occur to me sooner, but you don't have to use the table component for this. You can simply place textfields and static textfields arranged to LOOK like a table in the main report using the main fields. It will still export to docx as a table that can be manipulated in word like any other table (that was one of the business requirements for the report I was working on). I also had to mesh a table with data from the main report together with several rows from a subquery. So I used the same technique for the main report data, then added a table component with just the detail rows and physically placed it under the static text 'table'. It also exported to docx properly. jaspersoft studio FTW!
×
×
  • Create New...