Rex,
>That worked great, but there is a wrinkle, I also need to add a new record. Your solution works fine for existing records, but how can I use it to add a new record to the datatable?
You can just add a new DataRow to the table bound to your input controls. Rather than retrieving a row from the item selected in the DataGrid, you can call the business object's GetEmptyDataSet() first, then call its NewRow() method.
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