All,
>Would it be helpful to other developers (besides myself) for something like a PostTransactionHook() method? This may not come up enough for other developers to justify adding it, but who knows. In the meantime I just overrode the Save() method to dodefault(), and on success, requery my view.
Consider it done! I've added a new method named "PostTransactionHook()" to KBizObj that is executed after the END TRANSACTION is issued in the Save() method:
IF This.lUseTransactions AND NOT llRollback
loExecutant.EndTransaction()
*--- Call the Post-Transaction Hook method ---*
This.PostTransactionHook()
ENDIF
Is this what you need? Should it only run if the lUseTransactions property is set to True (the default)?
You can add this method to your copy of the Framework now and it will be in the upcoming version of Mere Mortals...with gushing affirmation to Paul, Cathi and Jason < s >.
Thanks,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com