Getting the specific Index / Occur / Row - another DataBand

Stimulsoft Reports.NET discussion
Post Reply
brjohnsmith
Posts: 30
Joined: Mon Jan 29, 2018 11:04 am

Getting the specific Index / Occur / Row - another DataBand

Post by brjohnsmith »

Hi, look at the example:

DataBand1 - there are some fields
DataBand2 - there is a table - this table, there are some fields - this table occurs 10 times.

I need to add a new field on DabaBand1, but this new field represents the 5 occ of the table on DataBand2, how I represent this field on DataBand1?

Ex: {DataBand2.Fieldx.Row[5]} - of course this is not the correct syntax - during the check I receive the msg that it is not correct.

Does anyone know how to solve it?

thx.
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Getting the specific Index / Occur / Row - another DataBand

Post by Lech Kulikowski »

Hello,

Please try to use:
DataSourceName.DataTable.Rows[rowid][columnid]

Thank you.
brjohnsmith
Posts: 30
Joined: Mon Jan 29, 2018 11:04 am

Re: Getting the specific Index / Occur / Row - another DataBand

Post by brjohnsmith »

Hi Lench, thank you, but it didnt work. I am getting a syntax error, the only syntax ok is {DataBandx,field[x][y]} (but it didnt work as well).
thx.
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Getting the specific Index / Occur / Row - another DataBand

Post by Lech Kulikowski »

Hello,

Please send us a sample report with test data that reproduces the issue for analysis.

Thank you.
Post Reply