Tuesday, April 3, 2012

Link Microsoft Outlook Tasks to a Database Form for Better Organization

Sitting at my desk yesterday, I was struck with a sudden panic attack. Did I file last year's 940? It's one of the few returns I still snail mail.

Maybe you are not as forgetful as I am. Maybe you don't walk into rooms wondering if you had a reason or were just aimlessly wandering about your house. Not me. I rely on memory tricks like the Carnegie system. For work, I totally rely on my Receipts database for tasks and confirmation of what I did, sadly even twenty minutes ago.

My database dispelled the 940 panic attack in seconds when I pulled up the account and saw the PDF return.

That alone would not be proof of mailing but the other half of my proof is using a process. The process for snail mail is never close the task until the envelope is in the outbox.

In light of this most recent panic attack, I decided to share my Receipts database with you.

It's a collection of many interconnected forms so I won't include the code or a free download. I apologize but wouldn't know where to begin. I do offer a free download of the file mover on my Google Docs page:

https://docs.google.com/file/d/0B5TehEdDbkHNNTRhMWMwODUtZmVlMC00NmM2LWFmNTgtZTM1NTE2Y2ExZjU3/edit?pli=1

If you decide to try it, see this page on my other site TheGenericDatabase.com that explains how to download, open and use other databases on your computer:

http://www.thegenericdatabase.com/p/how-to-download-google-docs-databases.html


Back to the Receipts database.




Advantages of Task Lists

Crossing out or checking off tasks from a written (or typed) list provides:
  1. a sense of accomplishment you don't get from completing tasks you keep in your head
  2. a concrete record of exactly how you spent your time on any given day
  3. confirmation at-a-glance for sudden panic attacks when you wonder if you paid that bill or sent that invoice
  4. a place to get started for those fuzzy-headed mornings (we all have them so no use denying it)
  5. a way to plan your day to make the most of your time
  6. a way to loosely project your daily hours
  7. a record of how long certain tasks take so you can better plan future work days


Why Link Tasks to a Database

You might wonder what purpose a database serves when you can open your email application to view and organize tasks. Here are a few:
  1. The database can access, enter and change tasks while the mail program is closed.
  2. A form is easier to sort, filter and manipulate
  3. The database links Outlook fields to QuickBooks accounts. This lets me:
    1. list tasks for each QuickBooks account or;
    2. list tasks for categories such as credit card, bank, bill, etc. and;
    3. open a database form that displays information for each account that;
    4. also lists electronic receipts, statements and reconciliations for that account that;
    5. can be opened from the form with a button click.
  4. Last but not least for me personally: pretty colors. You can put any pictures you desire on your forms and use any colors that appeal to you. You will get a pleasant feeling every time you open a newly designed form. Adding pleasant feelings to your work day is reason enough in my book!


Microsoft Access and Outlook


My receipts database links to Microsoft Outlook using VBA and to QuickBooks using QODBC. The screenshot below shows the Task List form and a short video appears at the end of this post.


You should come away from this post with a principle. Even when I post code or screenshots, you should be able to apply the principles to the applications you use.

Do not get stuck on the fact that I use Microsoft Access and Microsoft Outlook. The principle is linking your mail program to your database to extend and expand your task organization.

That said, below is a screenshot of my task form.

I can filter tasks for account type and date. This lets me see upcoming tasks as well as tasks due today.




Programming

My programming knowledge was next to nothing when I created this database. I searched the Internet for how to access Microsoft Outlook from Microsoft Access using VBA. I copied the code, studied it and manipulated it for my needs.

If you have no desire to program, consider hiring a student. I personally know of one major company performing sensitive work using a program developed by local college students!

The programming needed to link a mail application to a database is relatively simple as proved by my limited knowledge at the time I developed mine. This leads me to conclude that a college student studying VBA could surely handle the task.


Summary

I could not survive a work day without my database. The convenience of using one central application instead of switching between Microsoft Outlook and Microsoft Access saves time and aggravation.

If you are interested in more details concerning this particular form, let me know and I will write more posts about it.

Here is a quick video to show a student or developer what a task form might look like. Clicking on a task in this form opens another form with the QuickBooks account information. The form that opens searches the computer and lists all receipts, statements, reconciliations and upcoming tasks for the account and will also write a check to QuickBooks to pay on the account.











2 comments:

  1. Annaliese, thank you for writing this post. I have been looking everywhere trying to learn how to connect outlook with an access database I just started to track the many steps/milestones of my projects. Ultimately, my goal would be to have a target date and completed date for each milestone. The target date would be the tasks due date and once the task is marked completed I would like the completion date to be recorded in my Access table. Thanks again, for the post, I was getting discouraged trying to find information on the topic. If you can point me to any more resources, please let me know. Or if you have any strategies to identify some top college talent, I would be willing to pay a reasonable wage.

    ReplyDelete
  2. You are welcome and thank you for the positive feedback.

    The tutorial I used to first create the form above was: 'Taking Outlook and XML to Task in MS Access' by Garry Robinson:

    http://www.vb123.com/toolshed/05_docs/outlooktasks.htm


    Some other resources I have used are:

    ACC: Using Automation to Add a Task/Reminder to MS Outlook:
    http://support.microsoft.com/kb/162371


    ACC2000: How to Use Automation to Add a Task or a Reminder to Microsoft Outlook:
    http://support.microsoft.com/kb/209932


    Working with Outlook Folders and Items:
    http://msdn.microsoft.com/en-us/library/aa189869


    OL97: How to Retrieve All Recurring Appointments with Code:
    http://support.microsoft.com/kb/q170789


    You need code that works with your version of Microsoft Outlook. If I can't find my version, I try others until I find one that works. If the code doesn't work 'out of the box' and I do not understand it, I move on.

    If you have any VBA knowledge, you can probably copy and paste code from tutorials to create your tasks database.

    I have read that places exist on the Internet (like guru.com) where one can hire developers at reasonable cost. I could not recommend any because I have never used one.

    If you have the time and inclination to DIY your database, you will be able to make changes to suit yourself later as needed.

    Best of luck!

    ReplyDelete