lucour
asked on
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 !
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 !
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,
You may also need some way of validating that purchase order request, and maybe serializing them to make for an easily trackable system.
Regards,
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!
> 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!
ASKER
Thanks BlueDevilFan ............ No, I am not familiar with connecting to Access using ADO. Do you have any examples ?
Thanks !
Thanks !
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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 !
Do I substitue 'VALUES(Value1, Value2)' for something else ?
Thanks !
> 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 & "')"
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 & "')"
Any update, lucour?
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,