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

Harvest Data from Outlook Form



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 15th 09, 08:53 PM posted to microsoft.public.outlook.program_vba
Luke
external usenet poster
 
Posts: 33
Default Harvest Data from Outlook Form

I want to create an Outlook form to send out as a survey about our cafe.
That's not a problem. My issue is with creating it in such a way that when a
user emails me back their inputs, the results go into a database (access
probably). How can I do such a thing?
Ads
  #2  
Old June 20th 09, 04:24 PM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Harvest Data from Outlook Form



You might start with the ItemAdd event of the Inbox; see the VBA help for an
example.

There read the item's properties, connect to your database, and use the
proper SQL statements to insert the data into a table.

This sample demonstrates how to connect to an Access database by using
ADODB:
http://www.vboffice.net/sample.html?...cmd=showite m

Depending on what you want to do, you might use the Connection.Execute
method with the Insert SQL statement; or use a recordset that looks for
existing data first, then update or insert your data. All that stuff can be
found by looking for ADO and SQL.

--
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 Mon, 15 Jun 2009 11:53:01 -0700 schrieb Luke:

I want to create an Outlook form to send out as a survey about our cafe.
That's not a problem. My issue is with creating it in such a way that when

a
user emails me back their inputs, the results go into a database (access
probably). How can I do such a thing?

 




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
Created Form, Published it, but sent emails don't have form data duugg Outlook - Using Forms 15 January 23rd 09 04:35 PM
Get data from outlook form with vba Boein Outlook and VBA 1 May 8th 08 02:54 PM
form data in outlook web access JP Outlook - Using Forms 2 May 11th 07 07:03 AM
Importing data form outlook Steve Cochran Outlook - General Queries 2 February 20th 07 04:35 PM
OL2003 - can you auto-fill a singel new contact form with online form data TimR Outlook - Using Contacts 1 February 15th 06 02:43 PM


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