Message reason why Execute method failed
Posted
by waanders
on Stack Overflow
See other posts from Stack Overflow
or by waanders
Published on 2010-06-09T08:59:12Z
Indexed on
2010/06/09
9:02 UTC
Read the original article
Hit count: 165
I use the DAO method Execute to delete some records. If this fails this is clear by checking RecordsAffected (it will be 0). But is it possible to get the error message (for instance, to log or to show to the user)? I've try to delete the records by hand in the Table grid I get a clear dialog message, e.g. "The record cannot be deleted or changed because tabel x includes related records".
© Stack Overflow or respective owner