I have a Stocks table and Sites table in my model driven solution. Also the Site column in Stocks table is lookup column to Sites table. My requirement is when I open a X record from my Stocks table and it has value "Bedford" for Site Column, I would like to show the related records from the same Stocks table with Site Column value "Bedford".
As you can see below, the subgrid is showing me all the records (from the Stocks table) from the view which I set as default for subgrid. But I would like to show only the ones with Site Column value coming from the form above. Please help in this regard. Happy to clarify any questions regarding my post.
