using a linked image control ... when an image is loaded a dialog flashes on the screen that appears to be an image load dialog ... is there a way to suppress this dialog?
Sub RequeryPicture()
Dim chDir As String
Dim chPic As String
Call dbg("Requery Picture")
chDir = DLookup("[ConfigParam]", "Config", "[ConfigName] = 'PictureDirectory'")
chPic = chDir & chPicture & ".jpg"
If chPicture <> "" Then
If (Me![frmPicture].Picture <> chPic _
Or IsNull(Me![frmPicture].Picture) _
Or (Me!frmPicture.Picture = "(none)")) Then
Me![frmPicture].Picture = chPic
End If
End If
End Sub
Sub RequeryPicture()
Dim chDir As String
Dim chPic As String
Call dbg("Requery Picture")
chDir = DLookup("[ConfigParam]", "Config", "[ConfigName] = 'PictureDirectory'")
chPic = chDir & chPicture & ".jpg"
If chPicture <> "" Then
If (Me![frmPicture].Picture <> chPic _
Or IsNull(Me![frmPicture].Picture) _
Or (Me!frmPicture.Picture = "(none)")) Then
Me![frmPicture].Picture = chPic
End If
End If
End Sub