Page 1 of 1

Database Object (DBO) Events

Posted: Sat Apr 04, 2015 5:25 am
by unixkd
Hi Roger

I am writing an Audit Trail routine for my application using DC_DBNotify() Class. I discovered that the "OnTableDeleted" (DBO_TABLE_DELETED) will not fire when using dbDelete() on ADS ADT tables. I look at the source code for DC_DbNotify and discovered that you were doing a work-around using deleted() function which is not applicable to .adt tables.

Any suggestion will be appreciated.

Thanks.

Joe.

Re: Database Object (DBO) Events

Posted: Sat Apr 04, 2015 10:55 am
by rdonnay
I have very limited experience with ADT tables. In particular I don't like they way they are bound to the data dictionary. I had to write special code to handle this issue when deploying database updates. ADT just doesn't work for me when working with legacy data.

If you write me a small sample program that demonstrates this problem, I will work on the issue for you. Please include the ADT files.