Thanks for the quick answer it worked for the multi grid lookup but not for the "cascading lookup" form
--- In [email protected], enki...@... wrote: > > Dear Benoit, > > can you test this. > You add a boolean '_canClose' value on your form and set it to 'false' during > init(). > You set '_canClose' to 'true' only when clicking on the grid you select the > information. > In form method canClose() you test your boolean value. > > This may work too for your multi grid lookup. > > Regards, > Geoffrey Delmée > > ----- Mail Original ----- > De: "benoit.billington" <benoit.billing...@...> > Ã: [email protected] > Envoyé: Mercredi 15 Avril 2009 12:07:40 GMT +01:00 Amsterdam / Berlin / > Berne / Rome / Stockholm / Vienne > Objet: [development-axapta] Prob : Form Lookup (custom) with filters > (cascading lookup) > > > > > > > > > Hello again :) > > http://img26.imageshack.us/img26/1766/greenshot20090409151059.png > > I made a custom lookup for my familyCode field > > as you can see my custom lookup contains 2 fields with each time a lookup and > a grid > > http://img19.imageshack.us/img19/3633/greenshot20090415120249.png > > The grid show the ALXApplicationFamily table which is joined to > ALXGrandFamily which is joined to ALXSegment > > ALXSegment1--* ALXGrandFamily 1--* ALXApplicationFamily > > The 2 filters are 2 field which are linked to an EDT (one from the > ALXSegment.SegmentCode field and the other one from > ALXGrandFamily.GrandFamilyCode) > > When I click on the filters lookups everythings just closes itself > It's an AX limitation... > But how can I do this then? > > To have a grid which can be filtered depending on 2 other tables ? >

