Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
170
Populating a second grid based on the first grid's active row
posted

I have two WinGrids on a Windows form.  It is similar to Customers and Orders grids.  When I select a row (activate) from the customers grid, I want to populate the Orders grid based on the Customer Id from the Customers grid.  I am not sure how to find the currently active row on the customer grid.  "AfterRowActivate" does not seem to contain any information about the row.  I am sure this is simple enough to do.  But don't know how.  A pointer to some sample code is highly appreciated.

 By the way, I am using NetAdvantage 2008.1.

Thank you

Babu.