MS Access - attachments

Hello Experts,

I have an MS Access 2003 database that records quotations and orders. I want to scan in a paper copy of an order so when a customer record is viewed in the database the scanned document can be displayed on the click of a button.

Can you please advise on how this can be achieved? Thank you.
kevin1478Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
You'll have to somehow associate the scanned items with the relevant record. YOu can do this by adding an OLE field to your table and storing your document(s) there, but generally it's a bad idea to store these types of things in Access.

A better solution is to store the scanned item on the disc, and just store the path to that item in the table. YOu can use a label and set the Hyperlink property of that label to the document's path ... for example, if I have a column in my table named sPath, and a label on my form name lblDocPath, then I'd do this in the Form's Current event:

Sub Form_Current()
  Me.lblDocPath.Hyperlink = Me!sPath
End Sub
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kevin1478Author Commented:
Thank you. Really appreciated.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.