I have 3 tables - Stocks, Sites and Delivery Header. Delivery Header table and Stocks table got lookup column to Sites table. Now on Delivery Header mainform, I would like to show Sites Column's related records from Stocks Table in subgrid or quick view control.
For example below is the table data I have in Sites Table
Stocks Table below
| Serial No | Client | Product | Site |
| 45647 | Contoso | 2/0 x 6' Ground | Attica |
| 56456 | Contoso | 2/0 x 10' Ground | Attica |
| 56747 | Contoso | 2/0 x 15' Ground | Avon |
| 34556 | Contoso | 2/0 x 20' Ground | Avon |
In Delivery Header main form, I would like to show below subgrid (of stocks table) when I have "Attica" as Site in main form
| Serial No | Client | Product | Site |
| 45647 | Contoso | 2/0 x 6' Ground | Attica |
| 56456 | Contoso | 2/0 x 10' Ground | Attica |
I am very much to new to model driven apps. Hope I have put my problem statement clear. Kindly help in this regard. Thank you much in advance
Best Regards,
Ramesh Mukka