Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-24-2016, 04:21 PM
lonesoac0 lonesoac0 is offline Outlook and Access question Windows 7 64bit Outlook and Access question Office 2013
Novice
Outlook and Access question
 
Join Date: Oct 2015
Posts: 10
lonesoac0 is on a distinguished road
Default Outlook and Access question

Hello all,

I have a software license database that is in Access. People send me emails all the time to query my DB for software keys. What I would like to do is to make an auto query and response in my outlook and access apps. The workflow I see is the following:

1. co-worker sends me an email asking for userids' license keys.
2. My outlook see's a certain phrase in the subject and runs a query in my access db.
3. An automatic reply sends back the information to the sender.



Can this be done relatively easily?
Reply With Quote
  #2  
Old 08-25-2016, 04:35 AM
gmayor's Avatar
gmayor gmayor is offline Outlook and Access question Windows 10 Outlook and Access question Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,101
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

The short answer is yes it can be done, but easily?

You would need a function to access the database table and grab the ID associated with the user's name. That is fairly straightforward, provided the username field contains unique information (or you can derive unique information from interrogating more than one field) and you know the column(s) that contain(s) the unique data and the column number of the field containing the License key.

What is more difficult, unless you provide a standard format for the co-worker to send you the identity of the user, is reading the message to grab the user information so that it can be used to interrogate the database.

Sending the reply part is easy and can be done from a rule, provided the Outlook macro has access to all the data it requires.

Although intended for a different purpose, my website link http://www.gmayor.com/extract_data_from_email.htm shows how to read an e-mail message. What you need to do is ensure that message is readable, then the rest will fall into place.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
Reply

Tags
access 2013, automation, outlook 2013



Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook and Access question Unable to access Outlook.com email account using Outlook 2007. MACH1 Outlook 3 07-03-2016 03:18 AM
Authorization to access Outlook gar Outlook 0 06-22-2014 09:03 AM
Outlook Web Access - two mailboxes morgue Outlook 2 02-10-2011 05:58 PM
Outlook and Access question Outlook Access From The Web jshollis Outlook 1 05-06-2009 03:22 PM
Access question Ayres Office 6 06-06-2005 10:51 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:49 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft