this is my problem. i have a databse that access linked images utilizing code found here.
Me!Image.Picture = "s:\pgm\historic pictures\" & Me![Current Address] & ".jpg"
piclabel.Caption = "File: " & " s:\pgm\historic pictures\" & Me![Current Address] & ".jpg"
that code obviously compares the address field to a path with that same address in it.
now, some of my records do not have pictures.
i want access to do the following
if a picture with current address.jpg can't be found in the directory, load nopicavail.jpg, else perform the above code.
i don't know how to do this, and my is department decided not to include the vb online help file when they installed access.
Thanks
Me!Image.Picture = "s:\pgm\historic pictures\" & Me![Current Address] & ".jpg"
piclabel.Caption = "File: " & " s:\pgm\historic pictures\" & Me![Current Address] & ".jpg"
that code obviously compares the address field to a path with that same address in it.
now, some of my records do not have pictures.
i want access to do the following
if a picture with current address.jpg can't be found in the directory, load nopicavail.jpg, else perform the above code.
i don't know how to do this, and my is department decided not to include the vb online help file when they installed access.
Thanks