M
Mark D'Agosta
Using Access 2002.
My primary database contains code that creates new databases on the fly (one
for each new client, for example). The new databases all contain an
identical table. I would like to create a form, in my primary database,
that will display any client's data. For example, I dynamically create a
new database (ex: NewClient.mdb), dynamically create a table
(NewClientJobsTable) in that new database. I then populate the new table
with data (client jobs; large table; could be tens of thousands of rows).
Then, I'd like to be able to query the data in the new table, filtering on
Job Id, but display it in a form that was defined in the primary database.
I don't know how to create an unbound form in one database, and then
dynamically bind it to another database at run time. Is this even the right
approach? Can I also dynamically define a Form in the new databases, and
then bind that form to the table? Anyone have any ideas on the best way to
accomplish this task?
The idea of each client having its own database is an absolute requirement
(please don't make me go through the whole story... I fought against the
idea, and lost). Other than that, I'm wide open to any ideas!
Thanks,
Mark D.
My primary database contains code that creates new databases on the fly (one
for each new client, for example). The new databases all contain an
identical table. I would like to create a form, in my primary database,
that will display any client's data. For example, I dynamically create a
new database (ex: NewClient.mdb), dynamically create a table
(NewClientJobsTable) in that new database. I then populate the new table
with data (client jobs; large table; could be tens of thousands of rows).
Then, I'd like to be able to query the data in the new table, filtering on
Job Id, but display it in a form that was defined in the primary database.
I don't know how to create an unbound form in one database, and then
dynamically bind it to another database at run time. Is this even the right
approach? Can I also dynamically define a Form in the new databases, and
then bind that form to the table? Anyone have any ideas on the best way to
accomplish this task?
The idea of each client having its own database is an absolute requirement
(please don't make me go through the whole story... I fought against the
idea, and lost). Other than that, I'm wide open to any ideas!
Thanks,
Mark D.