2
Using Delphi XE3 / Datasnap with Firedac
When I have the parent table saved on the server I want to recover the value that was added via auto increment in the parent so that I can inform this new value in the foreign key in the daughter table.
I don’t know where to pick up and how to pick up.
...AfterUpdateRecord(Sender: TObject;
SourceDS: TDataSet; DeltaDS: TCustomClientDataSet; UpdateKind: TUpdateKind);
or
...BeforeUpdateRecord(Sender: TObject;
SourceDS: TDataSet; DeltaDS: TCustomClientDataSet; UpdateKind: TUpdateKind;
var Applied: Boolean);
That that you want?
– Filipe.Fonseca