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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156