0

I've created form with two grids. Each grid has got diffrent data source without any relation between them. When I'm creating a range on DS1 its affecting not only grid1 with ds1 but also grid2 with another data source. It's cutting records in grid 2 to quantity of records in grid 1 after using range.

Can someone tell me how to avoid this effect? I want to have 2 independent grids in one form.

2 Answers2

1

Investigate Dyna-Links on the form (Personalize - Query).

Clear them with clearDynalinks.

public void init()
{
    super();

    MyTable1_ds.queryBuildDataSource().clearDynalinks();
    MyTable2_ds.queryBuildDataSource().clearDynalinks();
}
Matej
  • 7,517
  • 2
  • 36
  • 45
0

Double check that the DataSource property on the second grid control is set to the second datasource.

This is a common error, consistent with the behaviour you described.

Jan B. Kjeldsen
  • 17,817
  • 5
  • 32
  • 50