Excluir registros filhos #243
Unanswered
DouglasUnisystem
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Tenho o seguinte JSON, possui a seguinte estrutura de tabela: ORCAMENTO -> ORCAMENTOITENS -> FORMULASITENS
Vinculação com Master Source do Pai com os filhos

Carrego os dados na query com o LoadFromJson e apresenta corretamente
Chamo o método de .Edit para Inserir ou Atualizar

Realiza o ApplyUpdates sucessivamente:
qryOrcamento.ApplyUpdates(0);
qryOrcamentoItens.ApplyUpdates(0);
qryFormulaItens.ApplyUpdates(0);
Realiza o CommitUpdates sucessivamente
qryOrcamento.CommitUpdates;
qryOrcamentoItens.CommitUpdates;
qryFormulaItens.CommitUpdates;
Não está excluindo os registros
Beta Was this translation helpful? Give feedback.
All reactions