Microsoft Access Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft Access Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old December 29th, 2004, 09:58 AM
BetsyBean BetsyBean is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 14 BetsyBean User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 22 m 15 sec
Reputation Power: 0
Dumping data from one database to another

Hi All,

We have two offices, each with their own Windows 2000 server, which are connected with a VPN tunnel but it is extremely slow to try to have an Access 2000 database sit on a server in one office and be used by the other office.

Since we are not yet up to web accesible databases, I wanted to have the original database sit in the field office and a copy of the database in the central office. Both have staff enter data. Then, every two weeks, I would like to dump the "new" data from central office to the field office (after two weeks data cannot be edited by staff). I have no trouble doing an append query across the VPN tunnel to accomplish this for one table, however, if data has been entered into a sub table, therefore creating a foreign key relationship, how do I recreate that in a data dump?

Any ideas? Thank you, Betsy

Reply With Quote
  #2  
Old December 29th, 2004, 11:47 AM
MrBullwinkle MrBullwinkle is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Location: Wild and Wonderful, West Virginia
Posts: 27 MrBullwinkle User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to MrBullwinkle Send a message via AIM to MrBullwinkle Send a message via MSN to MrBullwinkle Send a message via Yahoo to MrBullwinkle
You could load all the new data into a recordset, then write the recordset to the DB. The recordset will create new keys based on the DB it's writing to.

Reply With Quote
  #3  
Old December 29th, 2004, 12:42 PM
BetsyBean BetsyBean is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 14 BetsyBean User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 22 m 15 sec
Reputation Power: 0
Thank you! I had never used a recordset and it seems, after reading up on it, that it is exactly what I need to be using. I will probably pester you again if I run into problems while attempting to use one.

Good to know someone from Wild, Wonderful West Virginia is helping me - that is where I was born, although now am called a Hoosier.

BetsyBean

Reply With Quote
  #4  
Old December 30th, 2004, 07:14 AM
MrBullwinkle MrBullwinkle is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Location: Wild and Wonderful, West Virginia
Posts: 27 MrBullwinkle User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to MrBullwinkle Send a message via AIM to MrBullwinkle Send a message via MSN to MrBullwinkle Send a message via Yahoo to MrBullwinkle
West Virginias are the stuff. Just that noone stays and gives credit. Soon as I get out of WVU, I'll be doing the same :-p

Recordsets are ez, shouldn't have much trouble.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft Access Development > Dumping data from one database to another


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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 On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT