Announcements
Hi,
I have one form which has two grids. First grid contains Itemgroup. Second grid contains Itemid, Productname,
ProductSubtype etc. FIrst Grid Datasource is InventItemgroup table and second grid main datasource is InventTable. I need to filter the second grid based on the Itemgroup i have selected on first Grid. Since, there is no relation between Inventtable and Inventitemgroup how to set the range for the execute query in Inventtable. Help me on this.
Regards,
Ram
Hi,
You already asked this in another discussion: community.dynamics.com/.../how-to-get-the-active-record-from-a-grid-to-another-grid
Please go through the replies provided there - we have covered both possible approaches: data source relations (when data source tables are directly related) and x++ filtering (when no direct relation).
Hi Ram,
What is the purpose of that form? Are you planning only to view it?
You can use view InventTableExpanded instead of inventTable, but views are read-only by default, otherwise you need to add also InventItemGroupItem to your form and use it as link between InventItemGroup and InventTable.
André Arnaud de Cal...
294,099
Super User 2025 Season 1
Martin Dráb
232,866
Most Valuable Professional
nmaenpaa
101,158
Moderator