Two DataTables

Stimulsoft Reports.NET discussion
Post Reply
fabio
Posts: 6
Joined: Thu Oct 09, 2008 2:25 pm
Location: brasil

Two DataTables

Post by fabio »

Hi !

I've 2 dataTables that are filled runtime, one for student names, and the other to scores.
So I need to figure out how to show studend name following the student's score (1 Student -> n Scores...)

I have create 2 datasources in the Dictionary and also created a relation with sdutend_ID for both dataSources.
But I don't now how to bind the to dataTable to the report.
I've tried:

...
regData("student", tbStudend);
regData("scores", tbScores);
But the report consider only the last one regData... How can I "regData" this two dataTables ?
Thank's in advance...
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Two DataTables

Post by Edward »

Hi, Fabio.

In case if student and scores have been registered in different Connections, then you have to set CacheAllData for the report object in true.

Which version of Stimulsoft Reports.Net do you use?

Thank you.
fabio
Posts: 6
Joined: Thu Oct 09, 2008 2:25 pm
Location: brasil

Two DataTables

Post by fabio »

Thank's but I'm still cannot figure out how to do this.... (CacheAllData)
I'm using version 2008.2.300
fabio
Posts: 6
Joined: Thu Oct 09, 2008 2:25 pm
Location: brasil

Two DataTables

Post by fabio »

Hey !

Nevermind... I've searched in the forum and got what I wanted.

Thank's and thank's a lot !!!
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Two DataTables

Post by Edward »

Hi, Fabio.

We wish you good luck in your everyday work!

Please let us know if any help is required.

Thank you.
Post Reply