Viv,
>I think the problem arises because mmBusinessForm.EndEdit() doesn't look far enough to see if the ActiveControl is contained by a grid. Something like this works for me:
I'll check this out and see what I can find.
Best 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