Rip,
>The problem is the EditItemIndex property is correct before the SaveDataSet call. When I trace through the code behind the SaveDataSet call I can see that in the BindBack method of mmDataGrid the EditItemIndex is -1. This causes and exception to be thrown.
What's the exception?
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