I made a program with the database number 1, in which there is a dataset1 - master, dataset2 - detail, tied to two tables. Added new name_pair field in dataset2 , type lookup , to display in it the contents of the name field in dataset1
Now when scrolling through dataset1, arises:
Access violation at address 004CC6F0 in module 'Meta.exe'. Read of address 00000014
moreover, if you immediately positioned on the record in dataset1 in which there is a binding in dataset2 - it shows everything, but upon further scrolling - again the same error.
It seems to me, when an error flies when there is data in dataset2, and they are moved to the record by scrolling.
When deleting the field " name_pair " - the error disappears .
moreover, if you immediately positioned on the record in dataset1 in which there is a binding in dataset2 - it shows everything, but upon further scrolling - again the same error.
It seems to me, when an error flies when there is data in dataset2. When deleting the field "name_pair" - the error disappears.
I decided to create a clean experiment, a new application, created a new base number 2 (2 tables, several fields in each, got a few lines), two new dataset, tied them together
, in the second dataset added a new field (in general, everything is the same as in the main program) - the same ERROR
Thank you in advance.
I found how the error turns out: If all rows / data (in height) fall into the Grid, then I can move up / down freely - there will be no error. If it is NOT all the rows in the Grid (in height), then the error will fail ...
PS When installing the checkbox "UseDebug DCUs" ("Options - Compiler"), during this error, I’m being thrown into the module "... delphi7 \ source \ vcl \ IBCustomDataSet.pas" on line 1847 (on "function TIBCustomDataSet.IsVisible ( Buffer: PChar): Boolean; ") ... And in this module I don’t want to change anything