Solved

Copying data from Access to Outlook

Posted on 1998-08-03
9
206 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 100 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
 
LVL 1

Expert Comment

by:TMiller
ID: 1621268
How do you transfer the table?
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Check out this infographic on what you need to make a good email signature that will work perfectly for your organization.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

911 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now