PC Review


Reply
Thread Tools Rate Thread

Auto update of Access DB from 3 other Access Databases

 
 
AGOKP4
Guest
Posts: n/a
 
      24th Jul 2009
hello all,

I created a DB with the assistance of members of this site (many thanks!)
that we use in 3 different centers (same DB), the study ID is the defining
factor for the data. I currently import the updated tables I get from each
site to generate summary reports

Is it possible to this this programmatically? Run a query to run this
instead of doing it manually? I tried linking the DBs once but it began to
run so slow that i had to continue importing the data manually.

thanks!!!

 
Reply With Quote
 
 
 
 
Piet Linden
Guest
Posts: n/a
 
      25th Jul 2009
On Jul 24, 3:08*pm, AGOKP4 <AGO...@discussions.microsoft.com> wrote:
> hello all,
>
> I created a DB with the assistance of members of this site (many thanks!)
> that we use in 3 different centers (same DB), the study ID is the defining
> factor for the data. *I currently import the updated tables I get from each
> site to generate summary reports
>
> Is it possible to this this programmatically? *Run a query to run this
> instead of doing it manually? *I tried linking the DBs once but it began to
> run so slow that i had to continue importing the data manually.
>
> thanks!!!


LOL... this sounds like my old job!!!

If you create links to the 3 databases, then you can either create a
union query to summarize the data or import the data into a new
database with a cloned structure. You could do tis really easily
after some initial work... You could create links to all the tables
in one database that you need to import from. Then in your code, you
could do the following:

1, set the link to point at the correct database (you could put this
in a table - makes it simple to choose databases to point to).
2. run a series of append queries, (base it on a Find Unmatched Query
wizard result). One for each table you need to import.
3. once these work, create a startup form, and in the Open event of
the startup form, call the function that runs the imports. (And it
must be a Function and not a Sub...)

Allen Browne has a great example on his website. www.allenbrowne.com
I think it's under the Programmer section...
 
Reply With Quote
Reply

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access 2007 opening older versions of Access databases Marty Mash Microsoft Access 3 7th Apr 2008 12:36 PM
Opening Access 2007 databases in Access 2003. =?Utf-8?B?TWlrZQ==?= Microsoft Access 3 30th Apr 2007 09:03 PM
How do I access the access data via Excel 2002 with auto update ? =?Utf-8?B?a2FydGhpaw==?= Microsoft Excel Programming 1 9th Feb 2007 01:56 PM
Problem opening some Access 2000 Databases with passwords Access 2 =?Utf-8?B?Um9iaW4gSg==?= Microsoft Access Security 1 22nd Jun 2005 07:55 AM
Access databases - unable to AddNew, Insert or Update wwwaynes Microsoft Access Form Coding 0 3rd Oct 2004 07:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:31 AM.