By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,327 Members | 1,791 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,327 IT Pros & Developers. It's quick & easy.

images in reports doesn't refresh

P: n/a
i have a databse for archeological sites each with its picture.the
pictures are on the server and the path of each pictire is saved in
field in the record source table of the report.I used the following
code But the images doesn't change
**********************
Private Sub Report_Page()
On Error Resume Next
If Me.image_path <> "" Then
Image29.Requery
Me.Image29.Picture = Me.image_path
Image29.Requery
Else
MsgBox "This site doesn't have image"
End If
End Sub
***********************
Nov 12 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a


Usually this needs to be done in a handler for the Format event of the Detail section, i.e.

Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
' Load the image here
End Sub

--
__________________________________________________ _____
http://www.ammara.com/
Image Handling Components, Samples, Solutions and Info
DBPix 2.0 - lossless jpeg rotation, EXIF, asynchronous

ma*********@hotmail.com (marwa mohamed) wrote:
i have a databse for archeological sites each with its picture.the
pictures are on the server and the path of each pictire is saved in
field in the record source table of the report.I used the following
code But the images doesn't change
**********************
Private Sub Report_Page()
On Error Resume Next
If Me.image_path <> "" Then
Image29.Requery
Me.Image29.Picture = Me.image_path
Image29.Requery
Else
MsgBox "This site doesn't have image"
End If
End Sub
***********************


Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.