I have this source code
- Code: Select all Expand view
cCmdSql := "CREATE TRIGGER Trg_Cli AFTER INSERT ON 'Clientes' " +;
"INSERT INTO Auditoria SET AUD_TAB = 'Clientes';"
TRY
oApp:oCon:Execute(cCmdSql)
CATCH oError
MsgStop("I Can't create the trigger !",oApp:cAplicacion)
ShowError(oError)
END
But allways I have the message "I Can't créate the trigger!, why?
BTW, I use MariaDB server
Best regards