Difference between 2016.1 and 2019.2 version

Stimulsoft Ultimate discussion
Post Reply
dikan
Posts: 165
Joined: Thu Jun 18, 2009 5:05 pm
Location: Serbia

Difference between 2016.1 and 2019.2 version

Post by dikan »

I upgraded my application from 2016.1 to 2019.2 and my already working report does not display data. It is complex report with several sub reports and all works fine with 2016.1 but does not display data with 2019.2. When I try to fetch only data in Report Designer, data are properly fetched but if I run Preview my report is blank.
My question is: Is there any major changes in data processing in reports between those versions?

Best regards,

dikan
Lech Kulikowski
Posts: 6196
Joined: Tue Mar 20, 2018 5:34 am

Re: Difference between 2016.1 and 2019.2 version

Post by Lech Kulikowski »

Hello,

Please clarify which data source type is used in your report?
Please send us a sample report with test data which reproduces the issue for analysis.

Thank you.
dikan
Posts: 165
Joined: Thu Jun 18, 2009 5:05 pm
Location: Serbia

Re: Difference between 2016.1 and 2019.2 version

Post by dikan »

Clarification: i am connecting database using odbc connection. In dictionary tab when i do 'view data' for each of my data source i get relevant data. But when i do 'preview' in report i get empty page...like there is no databand.
What i just discovered: data band is off course assigned to data source and when i delete that, so i have this: ' DataSource: Not Assigned' then report preview is not blank and i see some of the data. I say some because some subreports are not working correct so i don't have correct data in report.
I can send you report and you can see data bands and their names, but i can't send you database. If you can't figure it out with this information i will try to make sample database or something.
Attachments
dosrad.mrt
(287.44 KiB) Downloaded 154 times
Lech Kulikowski
Posts: 6196
Joined: Tue Mar 20, 2018 5:34 am

Re: Difference between 2016.1 and 2019.2 version

Post by Lech Kulikowski »

Hello,

You should add the following code for each data source in your Click event:
datasourcename.ConnectOnStart = true;
datasourcename.Connect();

Thank you.
dikan
Posts: 165
Joined: Thu Jun 18, 2009 5:05 pm
Location: Serbia

Re: Difference between 2016.1 and 2019.2 version

Post by dikan »

i am connecting datasources in event on OK button in form after date selection (see screenshot in attchment). I repeat: this report works as it is in designer 2016.1.16. If i understand correctly designer 2019 doesn't have forms any more. Is that a problem..because i am using form?
connect.PNG
connect.PNG (60.75 KiB) Viewed 2520 times
dikan
Posts: 165
Joined: Thu Jun 18, 2009 5:05 pm
Location: Serbia

Re: Difference between 2016.1 and 2019.2 version

Post by dikan »

Hello, sorry about this. I just saw your reply in other thread about forms and thank you for that. I will check results after i enable forms in options and let you know whether it solves my problems.
Thanks again.
Lech Kulikowski
Posts: 6196
Joined: Tue Mar 20, 2018 5:34 am

Re: Difference between 2016.1 and 2019.2 version

Post by Lech Kulikowski »

Hello,

Ok.
Please let us know if you need any additional help.

Thank you.
Post Reply