p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Access 2007 VBA Programmer's Reference ISBN: 978-0-470-04703-3 (http://p2p.wrox.com/forumdisplay.php?f=329)
-   -   Working with Attachments (http://p2p.wrox.com/showthread.php?t=60115)

azmarkb July 14th, 2007 07:36 PM

Working with Attachments
I’m developing a point of sale database and I am stuck. I have a form that is used to supply information about products (product name, department, price, quantity on hand) which I call the ProductAndInventoryForm. I included an attachment field so the user can attach a picture of the product which will display on the Point of Sale Form next to a button to add this item to the purchase. The user selects a department on a subform of the point of sale form and another subform lists the products (up to a total of 16 products) in the command buttons and displays a picture of the product above the button (if I can get this to work).
My problem is I can't figure a way to select the attachment from a recordset of products and assign the value of the image to the image control on the subform so the image can be displayed above the command button for the sale of that product. I am at a loss, can anyone help?


All times are GMT -4. The time now is 11:34 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.