Hello.
I´m trying to execute some exclusions in database
this is the code
DELETE FROM CONTRATO WHERE PESSOA_ID = :ID_PESSOA
DELETE FROM PESSOAS WHERE ID = :ID_PESSOA;
commit;
if sqlca.sqlcode < 0 then
MessageBox ("Erro na exclusão de dados", &
sqlca.sqlerrtext, Exclamation!)
HALT
end If
However nothing happens in database.
I need to delete rows in contrato table before pessoas table.
I already set the transactional object and set the update properties.
What i´m doing wrong?