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

Only display 2 of 3 in the subreport table.


Recommended Posts

By: acajax - liufenghuixue

Only display 2 of 3 in the subreport table.

2003-06-24 01:19

I retrived data from xml datasource into the subreport table.But the table only display the 2 and 3 row data,the first row data is not displayed in the table.

such as:

FIELD : field1 field2

ROW1 : data21 data22

ROW2 : data31 data32

 

But it should be:

 

FIELD : field1 field2

ROW1 : data11 data12

ROW2 : data21 data22

ROW3: data31 data32

 

Any suggestion?

 

 

 

 

By: Peter Kohlendorfer - kohlendorfer

RE: Only display 2 of 3 in the subreport table.

2003-06-24 01:33

Had the same problem when using the same datasource for master report and subreport. The problem is that the master report already does the first next() on the detail report. I managed to get around this implementing a reset (or alternatively a step back by one row) method in the detail report and called it in a scriptlet of the subreport.

If you have a better solution let me know.

 

Hope this helps,

 

Peter

 

 

 

 

By: acajax - liufenghuixue

RE: Only display 2 of 3 in the subreport table.

2003-06-24 01:48

kohlendorfer:

I think I have not understand your mean completely.Could you tell me it particularly or give me the detail codes?

 

Thank you very much!

 

acajax

 

 

 

 

By: acajax - liufenghuixue

RE: Only display 2 of 3 in the subreport table.

2003-06-24 02:32

kohlendorfer:

Thank you!

It's display correctly!

 

acajax

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