Jump to content

Recommended Posts

Posted

Hi, 

I have created a Report on the basis of CSV file on machine. 

I am using Eclipse plugin for Jaspersoft Studio. 

1(113).png.0aecff73079c4a7c706cf58dee6ca195.png

On Data Preview I am able to see the data. 

But when I check the design preview I am not able to see the data in generated report. 

Select type in Detail of report is Table. 

2(73).png.d88408c11fff989a4853184ef0b6b39e.png

 

3(50).png.b4b950ec242e3ac931ee2a49334eee23.png

 

 

 

Blank report generated. 

Please help me to resolve this issue. 

 

Regards

Amit

 

 

 

1(113).png.5efaf418637ae2ccdd5ba6219a495c13.png

2(73).png.f788af419df00e37a5796b91636a0319.png

3(50).png.befc725d00302fddfafa0f3bc69e1059.png

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

Are you using table component? If so, please verify whether you have given the proper dataset for the table.

Since you have placed the table component (i see that as a table), you need a query for the main report retruns at least a dummy record. Otherwise your detail section will not be printed.

The better approach is, use the table component in the summary band and have a dataset for table where you have written the required query.

Posted

Thanks for the reply. 

Yes I have associated a valid dataset for the table. I have a CummTot.csv file which I have assiociated with Jasperstudio using CSV adapter. Also I have checked that my query is returning the rows agains the submitted query. 

Following is the output - 

4(43).thumb.png.dec8f335b75dc6d27031f74cebe55d17.png

 

I have deleted the table from detailed field and added it to summary section. After that I have checked the above query and clicked on preview button but again no output got displayed. 

 

Thanks again. 

Amit 

4(43).thumb.png.60aeb093736e538b21ffe231a931a697.png

Posted

Instead of the Table component, try placing text components for the fields to check if the data is actually able to be displayed.

If the data displays, it means there some problem with your Table component settings.

Posted

Hi, 

Again no data displayed using text field. I have confirmed query used for the dataset which is running fine. Also, when I drag and drop the fields on detail or Summary band of report get following error message - 

You drop an object from a subdataset into the report, this is not possible.

Regards

Amit

 

Posted

Thanks Hedge, 

 

I was earlier thought that I was selecting from main, but it was subtype from where I was selecting the fields in detailed area. When tried with main fields it worked and now I am able to see the data. 

 

Regards

Amit 

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