A Microsoft Outlook email forum. Outlook Banter

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 » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Email to an MS SQL Table



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 3rd 08, 09:19 PM posted to microsoft.public.outlook.program_vba
Curious Joe
external usenet poster
 
Posts: 2
Default Email to an MS SQL Table

I have some emails (~1,500,000) that I need to throw into a SQL System
for some extensive analysis.

I know how to script a macro to traverse through all of the emails in
the system but I am wondering if there is a way to access ADO/ODBC of
any type from VBA in Outlook.

Any help is appreciated.

Thanks,

CJ
Ads
  #2  
Old January 3rd 08, 09:42 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Email to an MS SQL Table

Just set a reference to the ADO of your choice in the Outlook VBA project
and use it all you want. I've used ODBC and ADO many times from Outlook VBA.
What you can't do is use an ADO or ODBC connection to Outlook and expect to
get anywhere near the actual number of properties that exist on an item, and
some properties (email addresses for one) are security restricted for ODBC
connections and not for native VBA Outlook object model code.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Curious Joe" wrote in message
...
I have some emails (~1,500,000) that I need to throw into a SQL System
for some extensive analysis.

I know how to script a macro to traverse through all of the emails in
the system but I am wondering if there is a way to access ADO/ODBC of
any type from VBA in Outlook.

Any help is appreciated.

Thanks,

CJ


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Populate Access Table with Email Data & Save attchment as pdf or t Gavski Outlook and VBA 1 October 5th 07 06:44 AM
updating email address field from in-cell editing (table view) Rafael Outlook - General Queries 2 May 31st 07 02:08 AM
Outlook version table TJ Outlook - Installation 4 July 15th 06 12:53 AM
Export Outlook 2003 Email Message To Access 2003 Table Gwhit Outlook and VBA 1 May 30th 06 05:36 PM
How do I import email addresses from an Access table? Chris Outlook - Using Contacts 1 April 7th 06 02:58 PM


All times are GMT +1. The time now is 09:06 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.