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

Sending data from Outllok to Acces



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 4th 09, 06:00 PM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Sending data from Outllok to Acces



You wouldn't double click a name but an AppointmentItem in a calendar, which
triggers the NewInspector event. That would be where you read the item's
properties and connect to your database.

For the available properties see the object browser (f2), select the
AppointmentItem in the left pane.

For connecting to an Access database I'd use the 'Microsoft ActiveX Data
Objects x Library'. Here's an examle for how to connect to the db:
http://www.vboffice.net/sample.html?...7&cmd=showitem

For the other stuff see an ADO help file: Look for how to use the Recordset
object, and how to use the SQL statement 'Select'.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Wed, 04 Nov 2009 01:09:28 -0800 schrieb Lars Frederiksen:

Hi,

I want to doubleclick a name in a calender in outlook and - via an

eventhandler - send this name to Access where the name is seached and found
together with the persons other data in access. Is that possible? Maybee a
link to a codesnippet in VBA that do the trick? Or maybee a good book
telling me how outlook and access can work together?

Thank you
Lars - DK

EggHeadCafe - Software Developer Portal of Choice
Visual Studio.NET 2005: System.Net Mail Basics

http://www.eggheadcafe.com/tutorials...et-2005-s.aspx
 




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
Outllok 2007 - Data file not closed properly!!!! Stan Kay Outlook - General Queries 33 April 25th 09 10:45 PM
capturing data on sending emails mdlister Outlook and VBA 4 November 5th 08 03:47 PM
Trying to acces old .pst, getting Accses Denied bman342 Outlook - Installation 1 April 26th 08 03:46 PM
Sending Distribution List Data jazzd Outlook - Using Contacts 6 April 22nd 08 09:08 PM
Sending Multiple Meeting Options to Outllok users Nphil Outlook - Calandaring 1 February 26th 08 10:42 PM


All times are GMT +1. The time now is 03:40 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.