"d:\coolpos\pictures\" + alltrim(code) + ".jpg"to
iif(file("d:\coolpos\pictures\" + alltrim(code) + ".jpg"),"d:\coolpos\pictures\" + alltrim(code) + ".jpg","")You put this in the Control source textbox in the properties for the control.
file("d:\coolpos\pictures\" + alltrim(code) + ".jpg")