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

Outlook Script to Add records to database



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 20th 06, 04:57 PM posted to microsoft.public.outlook.program_vba
JP SIngh
external usenet poster
 
Posts: 1
Default Outlook Script to Add records to database

We are developing a helpdesk application and would like to add the ability
to create call (records in the database) automatically from the email sent
to a specific mailbox.

For example if the user sends a mail with "New" in the subject line then we
want to run a SQL statement like this

Insert Into Calls (Subject, Details) Values ( EmailSubject , EmailBody)

We would also like the possibility to update record with the information
i.e. if someone sends an email with the following subject line

Update: 204

i.e. update record id 204 with the information contained in the email

hence the query will be

Update Calls Set Description = EmailBody where id=204

I have look around and it appears this can be done through VBScript or VBA
or VB. Has anyone done anything like this before? Any code links or sample
code to modify.

The application and the database will be internal and we are running mixture
of Outlook 2003/2000 on Microsoft Exchange server 2000

Any help is greatly appreciated.



Ads
 




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
How do I convert my ACT! 6.0 database info to MS Outlook 2003 Alex B. Outlook - Installation 0 February 24th 06 05:37 PM
is it possible to combine related contact records in outlook? zgrl350 Outlook - Using Contacts 2 February 12th 06 10:29 PM
How do i transfer a database from excel to outlook Hayden Outlook - Using Contacts 1 January 30th 06 03:34 AM
ACT 4 database conversion to Outlook 2003 James M Outlook - Using Contacts 1 January 20th 06 11:53 AM
Import Excel to Outlook creates separate records for each fiel rachel Outlook - Using Contacts 1 January 13th 06 09:30 PM


All times are GMT +1. The time now is 04:52 AM.


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