Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

Welcome, Guest
Guest Settings

Thread: firedac problem with master/detail cached update and schemaadapter

This question is not answered. Helpful answers available: 2. Correct answers available: 1.

Permlink Replies: 0
Conceito Tecnol...

Posts: 1
Registered: 1/1/16
firedac problem with master/detail cached update and schemaadapter  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 22, 2016 10:28 PM
Hi guys,

In the sample project "SampleDataSnapFireDAC_Client.dpr" in "Object Pascal \ DataSnap \ FireDAC" that comes in the Delphi 10 Seattle, I added two buttons on the unit "ClientUnit.pas". The first button makes an insert and the second delete in the query mtOrders, however in the Post Updates, in the server an exception is raised FireDAC [DatS] -16. Can not process - no parent. Restriction [ForeingnKeyConstraint]. Has anyone had this problem to help me find a solution?

code in the buttons:

procedure TClientForm.AddClick(Sender: TObject);

procedure TClientForm.DeleteClick(Sender: TObject);

Thanks a lot,

Adeildo Silva

By Google Translate.
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02