Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question on presavehook on clistobjeditform
Message
 
À
08/02/2002 11:41:05
James Lucoff
Solutions Consulting Group
San Diego, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00617458
Message ID:
00617702
Vues:
24
>Why does the presavehook event on the clistobjeditform only get triggered by an Add of a new record and not an Edit of an existing record? Is there another event that would get triggered by an Edit? I'm trying to update a field on the grid of the calling form.

Actually, it *does* get fired when saving either a new or edited record. Check out cmdOK.Click()...ThisForm.PreSaveHook() is called unconditionally.

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