No - the relation on the EDT should do ;-) Please take a look at the Datasource property of the second grid - this should be the second datasource......
br Tobias -------- Original-Nachricht -------- > Datum: Thu, 13 Mar 2008 23:48:53 -0700 (PDT) > Von: kristanto surjadi <[EMAIL PROTECTED]> > An: development-axapta@yahoogroups.com > Betreff: Re: [development-axapta] Help Required > Add relation in TestLine table to TestHeader table. > > prosenjit ganguly <[EMAIL PROTECTED]> wrote: Dear All, > This is Prosenjit Ganguly new in AX.I am facing a problem which is > described below. > > I have created two table say TestHeader and TestLine.Primary key for > TestHeader is TestId. > and Primary key for TestLine is TestId and Line Num.An EDT is also created > against TestId field called TestId.I have created a normal relation in > that EDT against table TestHeader.So that it looks like > TestId=TestHeader.TestId. > > Now I have created a Form for taking two datasource ,TestHeader and > TestLine so that in that form we can display the related data of both of the > tables.It means for a TestId 101 record containing TestId 101 in TestLine will > be displayed.I have set Joinsource property of TestLine Datasource > TestHeader.But When I run the form all records in TestLine are displayed > irrespective of related TestID in TestHeader. > > I assume ,I am missing something in the Form Property Level. > > Please guide me. > > Prosenjit > > > > --------------------------------- > Never miss a thing. Make Yahoo your homepage. > > [Non-text portions of this message have been removed] > > > > > > > --------------------------------- > Looking for last minute shopping deals? Find them fast with Yahoo! > Search. > > [Non-text portions of this message have been removed] > -- Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games! http://games.entertainment.gmx.net/de/entertainment/games/free