Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
History Records...
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00117876
Message ID:
00118931
Views:
19
Bob,

>I am thinking that I can put the code in PostSaveHook of the business object. This looks to me that it would be the best place if I want the history record to participate in the transation of the save.
>
>But, would I use the biz obj new() to create the record or what?
>
>We are still not sure if we want to do this in the same table, or have a _hist table for each of the files...
>
>Any suggestions from Kevin et al?

Without knowing the premise of what you need to accomplish it's difficult to give an answer on the "big picture" issues.

However, the PostSaveHook() is a good place to attenpt what you're trying to accomplish. PostSaveHook() is not executed unless the Save() record has been successfully saved.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform