?
Solved

Copying data from Access to Outlook

Posted on 1998-08-03
9
Medium Priority
?
267 Views
Last Modified: 2010-04-08
I have been endeavouring to place data from tables within Access into an Outlook contacts folder.  The process works OK, but it's the time it takes that bothers me.

I have about 20000 records to copy, so this should take about 6 hours.  When I first set the routine in motion the records are transferred at the rate of about one per second.  I leave the program running overnight, an no-one else is on the network.  When I return in the morning some 16 hours later it is only up to the letter K, and is transferring at the rate of one record every 1.5 minutes.

Is this because it is a flat file and must walk through all the records before adding a new one, or have I got something wrong?
0
Comment
Question by:piggles
9 Comments
 
LVL 2

Expert Comment

by:Serg
ID: 1621265
Could it be that some files are bigger then others?
Perhaps you just have to wait.
0
 
LVL 10

Accepted Solution

by:
MasseyM earned 200 total points
ID: 1621266
When the records are loaded, they are first loaded into memory.. Memory management just isn't being managed very well.. just wait... 22000 records is a lot of processing, especially for a desktop system... See if you can run it on the server.
0
 

Author Comment

by:piggles
ID: 1621267
Hi Serg and MasseyM - thanks for replying.

I still have a major problem.  I take the point about memory management, but on looking at the amount of data which was actually processed, I find there were only just over 3000 records transferred when I stopped it at the letter K as outlined above.

Surely if the routine is going fast at the start it should continue at the same rate??  I did a re-run overnight last night on the server with virtually the same result.

The problem is now compounded by the fact that when a user in Access edits a record it takes up to 8 minutes to effect the change in Outlook!! (That's in the 3000 record table).  I transferred another Access table with 900 records to Outlook without any trouble, and editing that one from Access only takes about 10 seconds to make the changes in Outlook.

Any more ideas??


0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 1

Expert Comment

by:TMiller
ID: 1621268
How do you transfer the table?
0
 
LVL 1

Expert Comment

by:TMiller
ID: 1621269
How do you transfer the table?
0
 

Author Comment

by:piggles
ID: 1621270
Hi TMiller - thanks for the reply.  I have a routine which creates a Contact in Outlook from the data in Access.  I use a For...Next loop to copy all the records from Access.

When the user edits a record in Access, the routine looks for the corresponding record in Outlook, deletes it, then replaces it with the new data.
0
 
LVL 1

Expert Comment

by:TMiller
ID: 1621271
For .. Next I assume you are using VB, or is it an MSAccess module (sorry, I'm not too familier with the MS' Visual stuff)?

I would like to do something similar (as far as connecting to Outlook is concerned), and so I would love to see the few lines of codes regarding the Outlook object creation.

Fooling around with it, I might find a solution to your problem.

Thanks
0
 

Author Comment

by:piggles
ID: 1621272
Hi TMiller

If you'd like to give me your email address I'll send you the code
0
 
LVL 1

Expert Comment

by:TMiller
ID: 1621273
Thanks. adimiller@attmail.com
0

Featured Post

Granular recovery for Microsoft Exchange

With Veeam Explorer for Microsoft Exchange you can choose the Exchange Servers and restore points you’re interested in, and Veeam Explorer will present the contents of those mailbox stores for browsing, searching and exporting.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article I discuss my selections of the Top Four free Outlook OST File Viewers available. Open, view and read even damaged OST files by using these tools. They all provide a clear preview of all data such as emails, notes, tasks, calendars, e…
The core idea of this article is to make you acquainted with the best way in which you can export Exchange mailbox to PST format.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question