R
Rob Bunocore
I have a client who I built a system for in Access 2003. This user
has a need to transfer data to a show copy of the system. They are
not networked nor can they be.
My model was basically that when she clicked on Export Data button it
would:
1. Create a new database from code.
2. Make table queries would run, creating the appropriate tables in
the newly created database.
3. A password would be set on the database.
4. Query's would be created on the database.
5. A single form would be created on the database and named
StartupForm.
6. The new database's startup properties would be set to
automatically open the StartupForm.
I built all these things on the main system and was using
Docmd.Transferdatabase command to transfer the objects. This was
approach worked great until I saved teh file as an MDE file. As an
MDE it won't let me transfer the form StartupForm to the new database.
My idea was once this new database was created, the user could email
it to the other users and all they would have to do is open the
database.
My question is basically, when creating a form from code, how do you
careate event procedures to the controlls that were created?
Thanks.
Robby
has a need to transfer data to a show copy of the system. They are
not networked nor can they be.
My model was basically that when she clicked on Export Data button it
would:
1. Create a new database from code.
2. Make table queries would run, creating the appropriate tables in
the newly created database.
3. A password would be set on the database.
4. Query's would be created on the database.
5. A single form would be created on the database and named
StartupForm.
6. The new database's startup properties would be set to
automatically open the StartupForm.
I built all these things on the main system and was using
Docmd.Transferdatabase command to transfer the objects. This was
approach worked great until I saved teh file as an MDE file. As an
MDE it won't let me transfer the form StartupForm to the new database.
My idea was once this new database was created, the user could email
it to the other users and all they would have to do is open the
database.
My question is basically, when creating a form from code, how do you
careate event procedures to the controlls that were created?
Thanks.
Robby