ANSWERS: 1
  • If the pictures are stored on the hard drive you could use something like; (Don't forget to put the backslashes into the filepath, AB takes them out) Me.Picture1.Picture = "C:Images" & Me.List1.Text & ".jpg" Me.Caption1.text = Me.List1.Text If the list box filters records from a database, you could have the path to the image stored in a field, then have it on the form in a hidden text box and do something like this; Me.Picture1.Picture = Me.PathToImage.Text Me.Caption1.Text = Me.List1.Text Of course, you will need to put the code under the on change event.

Copyright 2023, Wired Ivy, LLC

Answerbag | Terms of Service | Privacy Policy