• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 535
  • Last Modified:

Purchase Order Form in MS Outlook ?

Hi,

I would like to design a custom form in MS Outlook, to be used by users within my company, for issuing Purchase Order requests.  I am fairly new to this kind of thing, but I have had some success designing a form (using tools such as drop down boxes, formula fields .....etc), but what I need to know is if this data can be saved from the Outlook custom form to an external data source, such as an MS Access database.  From an auditing point of view, we have to keep a record of all purchases that we issue.

Any help would be great ............ Thanks !
0
lucour
Asked:
lucour
  • 4
  • 2
  • 2
1 Solution
 
ECNSSMTCommented:
Just as an FYI, any forms designed in Outlook can only be viewed in any normalacy in Outlook.  An associate of mine designed a status report in Outlook and while it was decent in OL, it was gibberish in OWA.

I have yet to export stuff out of Outlook to anything...

that just my 2 cents, but below are the tutorial urls.

http://support.microsoft.com/?kbid=146636

http://www.outlookcode.com/d/forms.htm

http://www.windowsitlibrary.com/Content/191/18/toc.html

http://www.outlookexchange.com/articles/Santhosh/outlookforms.asp

Regards,

0
 
ECNSSMTCommented:
I just saw the word auditing.  What's the criteria or important points that the auditor wants if the auditor want to review the transactions?

You may also need some way of validating that purchase order request, and maybe serializing them to make for an easily trackable system.

Regards,
0
 
David LeeCommented:
Hi lucour,

> what I need to know is if this data can be saved from the Outlook custom
> form to an external data source, such as an MS Access database
Yes, it can.  Are you familiar with connecting to Access using ADO?  

Cheers!
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
lucourAuthor Commented:
Thanks BlueDevilFan ............ No, I am not familiar with connecting to Access using ADO.  Do you have any examples ?

Thanks !
0
 
David LeeCommented:
Here you go.

    Dim adoCon
    Set adoCon = CreateObject("ADODB.Connection")
    With adoCon
        'Change the name of and path to the database on the following line
        .ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\MyDatabase.mdb;Persist Security Info=False"
        .Open
        .Execute "INSERT INTO MyTable (Field1,Field2) VALUES(Value1,Value2)"
    End With
    Set adoCon = Nothing
0
 
lucourAuthor Commented:
Thanks BlueDevilFan ........ I ran a test with your code and it worked.  However, I don't want to export hard coded values to the Access table.  I want to export the values that have been inserted into the fields on the custom Outlook form.  For example, field name ItemQty1 on the Outlook form would write to field Qty1 in the Access database ; ItemPrice1 would write to Price1 ......... and so on.

Do I substitue 'VALUES(Value1, Value2)' for something else ?

Thanks !
0
 
David LeeCommented:
> Do I substitue 'VALUES(Value1, Value2)' for something else ?
Yes.  That was just an example showing the syntax.  You'll want something like this:

    INSERT INTO MyTable (Qty1,Price1) VALUES('" & Item.ItemQty1 & "','" & Item.ItemPrice1 & "')"


0
 
David LeeCommented:
Any update, lucour?
0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

  • 4
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now