Thanks
I am new to the MM.Net world. How often do you provide updates (such as this one)?
Rick
>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;
>
> // Copy the structure to the new data table
> DataTable dt = dv.Table.Clone();
> ds.Tables.Add(dt);
>
> // Copy the rows to the new data table
> 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,
Richard DeZeeuw
DeZeeuw Software Inc.