Page 1 of 1

Difference between 2016.1 and 2019.2 version

Posted: Fri Jun 14, 2019 4:46 pm
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

Re: Difference between 2016.1 and 2019.2 version

Posted: Sat Jun 15, 2019 6:03 am
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.

Re: Difference between 2016.1 and 2019.2 version

Posted: Tue Jun 18, 2019 9:33 am
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.

Re: Difference between 2016.1 and 2019.2 version

Posted: Wed Jun 19, 2019 9:24 am
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.

Re: Difference between 2016.1 and 2019.2 version

Posted: Thu Jun 20, 2019 6:40 am
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 2568 times

Re: Difference between 2016.1 and 2019.2 version

Posted: Thu Jun 20, 2019 12:27 pm
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.

Re: Difference between 2016.1 and 2019.2 version

Posted: Thu Jun 20, 2019 8:11 pm
by Lech Kulikowski
Hello,

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

Thank you.