Page 1 of 1

Two DataTables

Posted: Mon Oct 27, 2008 3:45 pm
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...

Two DataTables

Posted: Mon Oct 27, 2008 4:09 pm
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.

Two DataTables

Posted: Tue Oct 28, 2008 5:55 am
by fabio
Thank's but I'm still cannot figure out how to do this.... (CacheAllData)
I'm using version 2008.2.300

Two DataTables

Posted: Tue Oct 28, 2008 6:30 am
by fabio
Hey !

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

Thank's and thank's a lot !!!

Two DataTables

Posted: Tue Oct 28, 2008 3:27 pm
by Edward
Hi, Fabio.

We wish you good luck in your everyday work!

Please let us know if any help is required.

Thank you.