Page 1 of 1

DC_DBNotify()

Posted: Tue Dec 10, 2013 7:42 am
by unixkd
Hi all,

I noticed that dc_dbnotify() events (UPDATE, APPEND, DELETE etc) are not fired when editing a table in DCBROWSE. Any workaroundwill be appreciated.

Thanks.

Joe.

Re: DC_DBNotify()

Posted: Tue Dec 10, 2013 9:18 am
by rdonnay
Joe -

What results do you get when you do cell editing in the \exp19\samples\dbnotify\dbnotify.prg sample?

When I run the sample it correctly writes my changes to the dbnotify.dbf file.

Roger

Re: DC_DBNotify()

Posted: Tue Dec 10, 2013 9:36 am
by unixkd
Thanks Roger.

I used EDIT xbeBRW_ItemSelected;
MODE DCGUI_BROWSE_EDITDOWN;

When you use arrow key to move to the next/previous record, the cursor will remain in edit mode and DC_DBNotify() events will not fire.

Thanks.