Rick,
>Using MM.Net 1.3, the following causes the error, There is no row at position 0:
>
>1. Start MM Northwind Sample Application (VB)
>2. Select Customer, Orders from the Menu
>3. Click on the Picklist Icon (the first one)
>4. Two TAB keys to go to the first record and to the Company Name (notice how just the Company Name column is selected)
>5. Click on OK
Thanks for the heads up on this one. As it turns out the problem was in the mmDataGrid I changed the GetSelectedRow() method to the following:
public virtual DataSet GetSelectedRows()
{
DataSet ds = mmAppBase.Factory.CreateDataSet();
CurrencyManager cm = this.GetCurrencyManager();
DataView dv = (DataView)cm.List;
DataTable dt = dv.Table.Clone();
ds.Tables.Add(dt);
for (int i=0; i < this.SelectedRows.Count; i++)
{
ds.Tables[0].ImportRow(dv[(int)this.SelectedRows[i]].Row);
}
return ds;
}
I'll include this fix in the next MM .NET update.
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