Relationship is not active
Posted: Fri Dec 08, 2023 9:00 pm
Guys, I'm using a relationship as follows
var dataRelation = new Stimulsoft.Report.Dictionary.StiDataRelation("Relation", "Relation","Relation", this.report.dictionary.dataSources.getByName("Volumes"), this.report.dictionary.dataSources.getByName(" Seals"), ["seals"], ["relationId"]);
this.report.dictionary.relations.add(dataRelation);
In the designer it is showing the relationship but when I use it it is not showing the data, I noticed that the relationship is not marked as activated, but I was unable to mark it as activated, has anyone experienced this?
var dataRelation = new Stimulsoft.Report.Dictionary.StiDataRelation("Relation", "Relation","Relation", this.report.dictionary.dataSources.getByName("Volumes"), this.report.dictionary.dataSources.getByName(" Seals"), ["seals"], ["relationId"]);
this.report.dictionary.relations.add(dataRelation);
In the designer it is showing the relationship but when I use it it is not showing the data, I noticed that the relationship is not marked as activated, but I was unable to mark it as activated, has anyone experienced this?