Link to home
Start Free TrialLog in
Avatar of lucour
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 !
Avatar of ECNSSMT
ECNSSMT

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,

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,
Avatar of David Lee
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!
Avatar of lucour

ASKER

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

Thanks !
ASKER CERTIFIED SOLUTION
Avatar of David Lee
David Lee
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lucour

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 ?
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?