Number of detail tables in a master/detail

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
madriz1989
Posts: 4
Joined: Wed 31 Jan 2018 19:12

Number of detail tables in a master/detail

Post by madriz1989 » Wed 31 Jan 2018 19:57

I have in my database a master table with 19 detail tables that I linked in the datamodule.
I'm using TUniquery with mastersource property.
When I do ApplyUpdates on the master table, the error appears:
---------------------------
Debugger Exception Notification
---------------------------
Project Sophos_r3.exe raised exception class EAccessViolation with message 'Access violation at address 00000014. Read of address 00000014'.
---------------------------
Break Continue Help
---------------------------

Does the component have any details limit?
If I only link 16 detail tables, it does not give an error.

azyk
Devart Team
Posts: 1119
Joined: Fri 11 Apr 2014 11:47
Location: Alpha Centauri A

Re: Number of detail tables in a master/detail

Post by azyk » Thu 01 Feb 2018 14:42

In UniDAC, there are no separate restrictions on the number of relations in the master/detail datasets.

Please compose a small test sample where the issue is reproduced and send it using the contact form at our website https://www.devart.com/company/contactform.html . Include scripts to create test tables into the sample.

madriz1989
Posts: 4
Joined: Wed 31 Jan 2018 19:12

Re: Number of detail tables in a master/detail

Post by madriz1989 » Thu 08 Feb 2018 11:50

Thanks @azyk, it was my mistake. I solved the problem..

Post Reply