Is there a short code to prevent show any error duplicate message?

Is there a short code to prevent show error duplicate message, Like this message
image

if you are using sc_exec_sql you can replace it with sc_select and test the return code yourself

sc_select(rs, "SELECT ... FROM ...";
if ({rs} === false) {
    //Handle the error yourself;

} else {
  //SQL executed correctly

}
1 Like