Column does not exist in Data Source and relation can't be created!

Stimulsoft Reports.JS discussion
Post Reply
mucarilo
Posts: 2
Joined: Wed May 12, 2021 1:59 pm

Column does not exist in Data Source and relation can't be created!

Post by mucarilo »

I have created a report that contains a master-detail relation and this work fine when there is data, but, when I have no data in the master dataSource an error 'Column does not exist in Data Source and relation can't be created!' is raised and none of the reports are printed. I Would like to know if there is any workaround to resolve that, I already have tried many things and none worked

I found a post about that already but for the PHP(viewtopic.php?t=56804) report and it seems that you already make changes about that, but the problem still is happening, I have created a small sample to reproduce.

I'm using report js in an AngularJs application
Attachments
detailData.json
(24 Bytes) Downloaded 142 times
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Column does not exist in Data Source and relation can't be created!

Post by Lech Kulikowski »

Hello,

Please send us your report template for analysis.

Thank you.
mucarilo
Posts: 2
Joined: Wed May 12, 2021 1:59 pm

Re: Column does not exist in Data Source and relation can't be created!

Post by mucarilo »

Sorry I thought that I have sent all files, sending them now

In reality, if we send more than one attachment, he only gets the first one
Attachments
example.zip
(1.42 KiB) Downloaded 143 times
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Column does not exist in Data Source and relation can't be created!

Post by Lech Kulikowski »

Hello,

In that case, empty should contain information about tables and columns with empty values.

Thank you.
Post Reply