>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