scanning into access

hello, i belong to a club where we collect dues each year. we receive a check as payment, with different amounts, i would like to use a scanner to scan a copy of the check sent by each member, i have a form for each member where i enter their info and payment information. at that time i would like to scan the check. not sure if this is an image or a pdf. i would like to see the image of the check on the form where i enter the info for each member. thanks in advance, Charly
cazinkAsked:
Who is Participating?
 
burrcmConnect With a Mentor Commented:
You can add an OLE Object field to your table and then to your form. Then right click the field on the form and "Insert Object" then "Bitmap Image". This action will open Paint where you can create a scanned image for insertion. This method however will lead to significant bloat of your database and may over time become unworkable. Might be better to link the images to the member data on the form, that is create a folder of the cheques named with the member number. Place a button on the form to open the stored picture as required. The code behind the button will read like this -

MyfileShell = Chr$(34) & "C:\Windows\system32\mspaint.exe " & Chr$(34) & " " & Chr$(34) & "C:\YourFolder\" & [YourFormField] & ".jpg" & Chr$(34)
    Call Shell(MyfileShell, 1)

Fairly self explanatory. Set the extension to suit - jpg or bmp. You can actually use a *, but this might lead to complications. When you open the first one Paint will come up full screen but if you reduce it to the picture size, it should remember for next time.

Chris B
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.