Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
History Records...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00117876
Message ID:
00118931
Vues:
18
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform