Well, does anyone know how to get the sql executed in the POST of a query in insert mode? For example, I have the student table with id and name:
begin
tblAluno.Insert;
tblAlunoID.asInteger := 1;
tblAlunoNome.asString := 'Carlos';
//aqui
tblAluno.Post;
end;
Just in "here" I want to get the sql that runs underneath with the insert. Note that if I put: clipboard.asText: = tblAluno.Sql.Text it returns me the sql of the query and not the one actually executed in the post.