master detail report not working in version 2016.1
master detail report not working in version 2016.1
Hello,
i am transferring reports from version 2013.3 to 2016.1 (reports are working since 2010 without problems) and here is the problem:
master detail reports with 2 data sources which i don't connect on start but after clicking on button OK in form when i pass dates to sql in data sources and connect data sources (reports provides data in time period which user selects in form), gives me this error: "Parent Data Source is not located in DataSet and can't be used in relation. You can use property CacheAllData of report to cache this Data Source to one DataSet." So i did: in my report properties, under section 2.Main i have now Cache All Data set to true but i still get same error.
Help me please.
If i didn't explain my problem well enough i will upload screenshots and more detailed descriptions.
Thank you.
i am transferring reports from version 2013.3 to 2016.1 (reports are working since 2010 without problems) and here is the problem:
master detail reports with 2 data sources which i don't connect on start but after clicking on button OK in form when i pass dates to sql in data sources and connect data sources (reports provides data in time period which user selects in form), gives me this error: "Parent Data Source is not located in DataSet and can't be used in relation. You can use property CacheAllData of report to cache this Data Source to one DataSet." So i did: in my report properties, under section 2.Main i have now Cache All Data set to true but i still get same error.
Help me please.
If i didn't explain my problem well enough i will upload screenshots and more detailed descriptions.
Thank you.
Re: master detail report not working in version 2016.1
Hello,
Please check the last build 2016.1.16.
If the issue still present, please send us a sample report with test data which reproduces the issue for analysis.
Thank you.
Please check the last build 2016.1.16.
If the issue still present, please send us a sample report with test data which reproduces the issue for analysis.
Thank you.
Re: master detail report not working in version 2016.1
ok..still not working...this is how report looks like and here are original report in version 2013.3 and firebird database
- Attachments
-
- test_master_detail_2013.3.mrt
- (50.4 KiB) Downloaded 294 times
-
- report.PNG (37.63 KiB) Viewed 5560 times
Re: master detail report not working in version 2016.1
and i can't upload database..it's 8.4 MB..is that a problem? how can i send you database?
thanks.
thanks.
Re: master detail report not working in version 2016.1
Hello,
Please upload it to the file sharing service, dropbox, googledrive etc.
Thank you.
Please upload it to the file sharing service, dropbox, googledrive etc.
Thank you.
Re: master detail report not working in version 2016.1
Hello,
We couldn't connect to your database. "Connecting... Failed!"
Can you please clarify the login and password for this database.
Thank you.
We couldn't connect to your database. "Connecting... Failed!"
Can you please clarify the login and password for this database.
Thank you.
Re: master detail report not working in version 2016.1
sorry..it's standard firebird login:
username: SYSDBA
password: masterkey
username: SYSDBA
password: masterkey
Re: master detail report not working in version 2016.1
Hello,
Please try to use the following code in the button Click event:
Thank you.
Please try to use the following code in the button Click event:
Code: Select all
BRLPR.ConnectOnStart = true;
BRLPR2.ConnectOnStart = true;
BRLPR.Connect();
BRLPR2.Connect();
Re: master detail report not working in version 2016.1
It's working
thank you.
But now i am curious how is it that this works, but when i was trying to connect data sources on start (in properties of data source i've changed 'connect on start' from false to true) i was getting error 'Unhandled exception has occured in your application. Cannot remove table BRLPR, because it referenced in ForeignKeyConstraint..remove the constraint first' ...it would never occur to me to put it in button event.
Thank you.

But now i am curious how is it that this works, but when i was trying to connect data sources on start (in properties of data source i've changed 'connect on start' from false to true) i was getting error 'Unhandled exception has occured in your application. Cannot remove table BRLPR, because it referenced in ForeignKeyConstraint..remove the constraint first' ...it would never occur to me to put it in button event.
Thank you.