Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question on presavehook on clistobjeditform
Message
 
To
08/02/2002 11:41:05
James Lucoff
Solutions Consulting Group
San Diego, California, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00617458
Message ID:
00617702
Views:
23
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform