Hello dear DevArt team,
I'm not sure if this is the right place to post my comment but I'm doing it anyway
The day before yesterday I updated my SDAC components (and also MyDAC) to the latest release (SDAC 6.1) and now some if my programs get exceptions on the dac150.bpl.
I've looked it up and it appears to relate to the ApplyUpdates statement in the case of an empty dataset.
Example:
I have a form with three 'cached updates' queries. Sometimes the third remains empty (for that moment).
In my code I have the instructions:
.
.
Q1.ApplyUpdates;
Q2.ApplyUpdates;
Q3.ApplyUpdates;
.
.
That worked fine for some years.
Now I get an exception on the third line;
When I change that into
.
.
Q1.ApplyUpdates;
Q2.ApplyUpdates;
if Q3.UpdatesPending then
Q3.ApplyUpdates;
.
.
the exception does not occur.
Because of the size of my project I'm not goïng to rewrite all these lines so for now I'm goïng back to SDAC 5.1 but I hope you're able to resolve this issue in the next update.
Kind regards,
Frans van Meir,
iterate software