A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

code to copy a table, gyery and form



 
 
Thread Tools Display Modes
  #1  
Old March 5th, 2006, 12:22 PM posted to microsoft.public.access.gettingstarted
external usenet poster
 
Posts: n/a
Default code to copy a table, gyery and form

To achieve something rather complicated I need a code to copy a table name
Orders, query name OrderDetails and a form named Order to an empty database
called OffLineOrders. The databases are both in F:.
Then every once in awhile to copy the table Orders back to the actual
database called AllOrders under a different name so it doesn't effect to the
actual table. The databases are both in F: Orders.
Planning to do an append query after that.
I'm quite new to access, so every piece of help is more than wellcomed.
Thanks if anyone...


  #2  
Old March 6th, 2006, 04:18 PM
Bob Miller Bob Miller is offline
Senior Member
 
First recorded activity by OfficeFrustration: May 2005
Posts: 358
Default

Create a Macro and use the TransferDatabase function for each object you want to transfer. The source database and destination database can be anywhere to which your computer is connected. Press F1 in each field of the Action Argument that you don't understand.
Quote:
Originally Posted by elli
To achieve something rather complicated I need a code to copy a table name
Orders, query name OrderDetails and a form named Order to an empty database
called OffLineOrders. The databases are both in F:.
Then every once in awhile to copy the table Orders back to the actual
database called AllOrders under a different name so it doesn't effect to the
actual table. The databases are both in F: Orders.
Planning to do an append query after that.
I'm quite new to access, so every piece of help is more than wellcomed.
Thanks if anyone...
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:57 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.