>thank you for reply,
>i get error message file d:\tal\images\55.jpj dose not exist
>
>but how i can link between employee number and his picture ,mean employee number is 8 ,at the same time with command button link with scanner to giv this picture the same number 8 ..
>thanks
>m.qasem
procedure thisform.refresh
cwemployee = allt(thisform.text1.value)
cwpicfile = forcepath(cwemployee + ".jpg", "d:\tal\images\")
thisform.imgemployee.picture = iif(file(cwpicfile), cwpicfile, "")
thisform.imgemployee.visible = file(cwpicfile)
endproc
Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20