Page 1 of 1

Report with Relation not working

Posted: Fri Feb 10, 2023 10:24 am
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();

}

Re: Report with Relation not working

Posted: Fri Feb 10, 2023 1:07 pm
by gab75
to complete with the data

Re: Report with Relation not working

Posted: Fri Feb 10, 2023 8:14 pm
by Lech Kulikowski
Hello,

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

Thank you.