Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Saving an Outlook Contact item into a database

Status
Not open for further replies.

msc0tt

IS-IT--Management
Jun 25, 2002
281
CA
I need my VB app to iterate through the items in the Outlook/2000 Contact folder, and save these items to a SQL database (via ADO). These records will be read back later and re-inserted into a different Contacts folder.
My idea is to save the entire Contact item in one go (instead of field by field).
Is the contact item object a fixed size? Can I just stuff the whole thing into a single SQL field for later retreival?

If:
Dim objEntry As Outlook.AddressEntry
Dim rs as ADODB.Recordset
Could I do something like:
rs!fullEntry = objEntry
where fullEntry is a field the exact same length as an Outlook AddressEntry object?

-with thanks,
Mike

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top