I have a grid that has a child band that contains 2 queries, the second filters the data with a where clause is called FillByPending. Normally I select the query in the form load replacing the Fill method with FiilByPending method and viola, but I don't know where the child bands are filled.
Hi,
I'm afraid you lost me. I don't understand what you mean by "a child band that contains 2 queries". The child band will contain whatever data the data source has. It doesn't contain a query... unless you just mean you are displaying a string that happens to be a query of some kind.
I mean the tableAdapter which is associated with the BindingSource for the grid. The grid sees the Foreign Keys for the main table and builds the child bands. One of my child bands has multiple queries in the Dataset.
Never mind, this was a dumb question. I forgot to add a BindingSource and TableAdapter for the child band, now I have data and a way to choose which query I want.