verify execution of sc_exec_sql

Dear all,

My question is simple, i make a few insert and update on control application with macro sc_exec_sql, but i don’t know how to verify if command was done
any comment?, thanks in advance.

Seyera -> You can use the macros
sc_error_delete
sc_error_insert
sc_error_update

If there is not error, the command was done.

Grettings…

it doesn’t work, maybe because it is too old this post? if you are very nice, maybe could put the example, how to uses this “solution”, thanks

it is not true, it is no working

/* Code to Delete Record*/
.
.
.
.

if (sc_error_delete) { YourCodeHere
}