Report with Relation not working

Stimulsoft Reports.NET discussion
Post Reply
gab75
Posts: 15
Joined: Mon Feb 07, 2022 6:49 am

Report with Relation not working

Post by gab75 »

Hi

I try to use relationships in my report
as soon as I put the relation no more data is displayed
Datasets are managed by my code
and the relationship manually
If you have an idea, you save me.

This is my code to register the data
The data is present in my report



using (SqlDataAdapter dataAdapter
= new SqlDataAdapter(sCommand, connectionS))
{
DataSet dataSet = null;
// create the DataSet
dataSet = new DataSet("DATA");
// fill the DataSet using our DataAdapter
dataAdapter.Fill(dataSet, liste_tab);
r.Dictionary.Databases.Clear();
r.CacheAllData = true;
r.RegData(dataSet);
r.Dictionary.Synchronize();

}
Attachments
relation.PNG
relation.PNG (197.26 KiB) Viewed 516 times
gab75
Posts: 15
Joined: Mon Feb 07, 2022 6:49 am

Re: Report with Relation not working

Post by gab75 »

to complete with the data
Attachments
test.mrt
sample
(10.55 KiB) Downloaded 75 times
data detail
data detail
data.PNG (81.67 KiB) Viewed 511 times
Lech Kulikowski
Posts: 6239
Joined: Tue Mar 20, 2018 5:34 am

Re: Report with Relation not working

Post by Lech Kulikowski »

Hello,

Please send us a sample that reproduces the issue for analysis.

Thank you.
Post Reply