Hi all,
First post but I am trying to muddle my way through Access and getting stuck on the first hurdles – so after a bit of advice.
All I want to do at the moment is have a VERY simple image database, where I have a table of parts (PartID, Description, Imagepath) and a form that people open, EITHER select the PartID from combobox or type it in and then the corresponding description appears in one text field, and the image path in another; with the image of the item appearing in the image field.
I have attached where I am at the moment. I can get the correct image and description to appear, but only for the first item in the combobox list. I just cant work out how to update the form Description and Image Path fields when I select the other combobox item, in order to therefore update the image shown. Also, if I type in the combobox, the record appears to get changed as well.
I have looked at DLookups but am getting myself a bit confused with just where to put the code; not even sure if that’s the correct thing to use! So please forgive my total ignorance, but any help would be gratefully received. If someone can tell me what search term would be best for me to search for on this website (to save having another thread about something that may have been answered 100 times before), please point me in that direction and I will follow! J
Many thanks for your time and help,
Chris
First post but I am trying to muddle my way through Access and getting stuck on the first hurdles – so after a bit of advice.
All I want to do at the moment is have a VERY simple image database, where I have a table of parts (PartID, Description, Imagepath) and a form that people open, EITHER select the PartID from combobox or type it in and then the corresponding description appears in one text field, and the image path in another; with the image of the item appearing in the image field.
I have attached where I am at the moment. I can get the correct image and description to appear, but only for the first item in the combobox list. I just cant work out how to update the form Description and Image Path fields when I select the other combobox item, in order to therefore update the image shown. Also, if I type in the combobox, the record appears to get changed as well.
I have looked at DLookups but am getting myself a bit confused with just where to put the code; not even sure if that’s the correct thing to use! So please forgive my total ignorance, but any help would be gratefully received. If someone can tell me what search term would be best for me to search for on this website (to save having another thread about something that may have been answered 100 times before), please point me in that direction and I will follow! J
Many thanks for your time and help,
Chris