Hi all,
When inserting a record using Try and Catch, can I write like this :
Try
{
table........ // assign fields
table.insert();
}
catch (Exception::DuplicateKeyExecption)
{
}
So it is just empty bracket for the "Catch", so its like I don't want the error message of Duplicate key to show up, it's just continue with no insert... and move on.
Bte what is Exception::DuplicateKeyExceptionNoReceovered means ? and the different with the one I used above.
Thanks,