جزاك الله خيرا
لدى كود أخر فى
قى الحال
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[Titles] = '" & Me![ãÑÈÚ_ÊÍÑíÑ_æÓÑÏ53] & "'"
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
On Error GoTo HandleErr
If Not IsNull([MainData.PicFile]) Then
[imgPicture].Picture = [MainData.PicFile]
SysCmd acSysCmdSetStatus, "Image: '" & [MainData.PicFile] & "'."
Else
[imgPicture].Picture = ""
SysCmd acSysCmdClearStatus
End If
Exit Sub
HandleErr:
If Err = 2220 Then
[imgPicture].Picture = ""
SysCmd acSysCmdSetStatus, "Can't open image: '" & [MainData.PicFile] & "'"
Else
MsgBox Err.Description, vbExclamation
End If
End Sub
ولا يعملان معا