Macros and Im/Exporting

C

CJ

Can I use a Macro to Export some information from one DB
to the desktop of a user and then use another Macro on the
other database to Import the data from the stuff saved on
the desktop???

CJ
 
J

John Nurick

Yes, provided the other user is logged in to his computer at the time
and provided the network security settings allow you to write to his
desktop.

But if you have those permissions on his machine it would seem simpler
to export the data directly to the other database. If you don't, export
the data to an intermediate file - CSV format, perhaps - and email it to
the other user.
 
C

CJ

Permissions aren't a problem. If DB to DB is the best way
to go then how do I go about that? Which Macro would be
the better one to use?
-----Original Message-----
Yes, provided the other user is logged in to his computer at the time
and provided the network security settings allow you to write to his
desktop.

But if you have those permissions on his machine it would seem simpler
to export the data directly to the other database. If you don't, export
the data to an intermediate file - CSV format, perhaps - and email it to
the other user.

Can I use a Macro to Export some information from one DB
to the desktop of a user and then use another Macro on the
other database to Import the data from the stuff saved on
the desktop???

CJ

--
John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.
.
 
J

John Nurick

Depends on exactly what's going on.

One way would be to set up linked tables in your database connected to
the actual tables in the other user's. Then use ordinary append (or
other) queries in your database to move the data.

Otherwise, the macro action for moving things between mdb files is
TransferDatabase (in VBA, DoCmd.TransferDatabase).


Permissions aren't a problem. If DB to DB is the best way
to go then how do I go about that? Which Macro would be
the better one to use?
-----Original Message-----
Yes, provided the other user is logged in to his computer at the time
and provided the network security settings allow you to write to his
desktop.

But if you have those permissions on his machine it would seem simpler
to export the data directly to the other database. If you don't, export
the data to an intermediate file - CSV format, perhaps - and email it to
the other user.

Can I use a Macro to Export some information from one DB
to the desktop of a user and then use another Macro on the
other database to Import the data from the stuff saved on
the desktop???

CJ

--
John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.
.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top