I've tried to consult Google and my Access book for this, but with no luck.
Here comes the problem:
If you create a table in Access that looks like this
The attachment field is called MyImage and contains an image for Bar but not for Foo.
I created a form with an attachment control in order to easily add, remove and display images for different users.
What I want to do is to be able to pick a user in my combo box, and display the image for that user in the attachment control.
How can I do that?
I created the attachment control by going into design view and click Add existing fields. Then I dragged the MyImage-field to the form. I noticed that if Foo has an image, I'll show up in the attachment control. So the control only seems to look at Foo. I thought that there was a property in the Property sheet that I could use in my VBA code to change which record the attachment control is "looking at", but I couldn't find anything. Is there such a property, and if so, what is it called?