R
rossmclean
Hi,
I am trying to add "x" number of DGV controls at run time. In my app
the user selects a dir with a number of mdbs in it. They then select
which dbs they want to run a common SQL against.
From here I want to load the results from each mdb into it's own DGV.
So far I have not been able to do this. I could dim a fix amount and
set a hard limit, but I would prefer not to.
So far I have tried declaring one DGV and adding it to a new tab for
each mdb, the result of which was to have many copies of the results
from the last mdb on each tab.
I have also tried using a collection, adding a new DGV to the
collection then loading the dataset, then bunging that on to a new
tab, the outcome of that is that I only end up with one DGV, and that
on the last tab.
Any ideas? Is the collect the right way to go, and I'm just doing it
wrong?
Cheers
Ross
I am trying to add "x" number of DGV controls at run time. In my app
the user selects a dir with a number of mdbs in it. They then select
which dbs they want to run a common SQL against.
From here I want to load the results from each mdb into it's own DGV.
So far I have not been able to do this. I could dim a fix amount and
set a hard limit, but I would prefer not to.
So far I have tried declaring one DGV and adding it to a new tab for
each mdb, the result of which was to have many copies of the results
from the last mdb on each tab.
I have also tried using a collection, adding a new DGV to the
collection then loading the dataset, then bunging that on to a new
tab, the outcome of that is that I only end up with one DGV, and that
on the last tab.
Any ideas? Is the collect the right way to go, and I'm just doing it
wrong?
Cheers
Ross