Shame on me.  Both grid were linked to the same dataSource.

 

Thanks Lars.

Steeve...

 

-----Message d'origine-----
De : Lars Holm [mailto:[EMAIL PROTECTED] De la part de Lars Holm
Envoyé : 12 mai 2005 10:50
À : Axapta-Knowledge-Village@yahoogroups.com
Objet : SV: [Axapta-Knowledge-Village] Remove link between Form dataSource

 

Are you using two different datasources in the grids and fields in the design? Try to check it out.

 

Regards,

Lars

 


Fra: Axapta-Knowledge-Village@yahoogroups.com på vegne af Steeve Gilbert
Sendt: to 12-05-2005 15:14
Til: Axapta-Knowledge-Village@yahoogroups.com
Emne: [Axapta-Knowledge-Village] Remove link between Form dataSource

Hi guys,

 

            I've created a form that uses 2 grids (link to 2 different tables) that should be independent.  But since my 2 tables have some field that use the same EDT (like LedgerAccount), a dynamic link is created so that when I select a row in one of the grid, a row is selected automatically in the other grid.  There's no relation in both my tables.  I've tried using this:

 

public void init()

{

    super();

    this.query().dataSourceNo(1).clearDynalinks();

    this.query().dataSourceNo(1).clearLinks();

}

 

in the init method of both dataSource but without success.  Could you give me a hint on what to do?

 

Thanks,

Steeve...

 



Sharing the knowledge on Axapta.


Yahoo! Groups Links

 



Sharing the knowledge on Axapta.



Yahoo! Groups Links

Reply via email to