Programatically changin a grids data source

lazaruslazarus Member Posts: 2
I want to change the data source of a grid, based upon a table selection from another grid.

I can create controls (string fileds) on the target grid, I can swap the datasource and fielddatas for the grid and the columns, however I cant see any data in the grid. If I set the target grid equal to the same table as another grid on the form then both of them change rows in sync. - but still no data !.

I'm updating the grid and setting the focus.


any ideas?



](*,)

Comments

  • kinekine Member Posts: 12,562
    If you are talking about Navision, it is not possible to have two tablegrids on one form with different tablesource...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • krikikriki Member, Moderator Posts: 9,118
    Or you need to work with subforms.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.