P
Pierre
I have the following code on my Form_Current property. For some reason I'm
still getting a run time error even though its set to be ignored. Could
someone please take a look at this code and tell me what I am missing.
NOTE: I would also like it to read NONE if there is no information listed in
the field.
Me.Image501.Picture = "\\homeserver\home\My Documents\My Pictures\" & [Per
Snapshot]
If Err.Number = 2220 Then
Me.Image501.Picture = "(None)"
Resume Next
Else
MsgBox "Check image file name."
End If
Me.Image502.Picture = "\\homeserver\home\My Documents\My Pictures\" & [Per
Home]
If Err.Number = 2220 Then
Me.Image502.Picture = "(None)"
Resume Next
Else
MsgBox "Check image file name."
End if
End Sub
still getting a run time error even though its set to be ignored. Could
someone please take a look at this code and tell me what I am missing.
NOTE: I would also like it to read NONE if there is no information listed in
the field.
Me.Image501.Picture = "\\homeserver\home\My Documents\My Pictures\" & [Per
Snapshot]
If Err.Number = 2220 Then
Me.Image501.Picture = "(None)"
Resume Next
Else
MsgBox "Check image file name."
End If
Me.Image502.Picture = "\\homeserver\home\My Documents\My Pictures\" & [Per
Home]
If Err.Number = 2220 Then
Me.Image502.Picture = "(None)"
Resume Next
Else
MsgBox "Check image file name."
End if
End Sub