salamo alikom hi all
when i run report that includes image control linked to a field in the
table that contains the image path(on the server)and the record source
of the report contains over 30 records a messege shows saying:
"Microsoft Access doesn't support the format of the file'file
path\filename.j pg' or file is too large.Try converting the file to BMP
or GIF format".
I want to know which one is the problem (the size) or (the format is
not recognized).bec ause solution for both is exactly the opposite
i.e.: converting the format to BMP or GIF enelarges the image size.
N.B.:
This message shows only when the report have large number of records
,but when i choose 5 records for example it doesn't show and images
shows normaly.
The code used is:
*************** *****
Private Sub Detail_Format(C ancel As Integer, FormatCount As Integer)
If Me.image_path <> "" Then
Me.site_photo.P icture = Me.image_path
Else
Me.site_photo.P icture = ""
'MsgBox "This site doesn't have image"
End If
End Sub
*************** ****
thanks in advance hipe to recieve your reply soon.
when i run report that includes image control linked to a field in the
table that contains the image path(on the server)and the record source
of the report contains over 30 records a messege shows saying:
"Microsoft Access doesn't support the format of the file'file
path\filename.j pg' or file is too large.Try converting the file to BMP
or GIF format".
I want to know which one is the problem (the size) or (the format is
not recognized).bec ause solution for both is exactly the opposite
i.e.: converting the format to BMP or GIF enelarges the image size.
N.B.:
This message shows only when the report have large number of records
,but when i choose 5 records for example it doesn't show and images
shows normaly.
The code used is:
*************** *****
Private Sub Detail_Format(C ancel As Integer, FormatCount As Integer)
If Me.image_path <> "" Then
Me.site_photo.P icture = Me.image_path
Else
Me.site_photo.P icture = ""
'MsgBox "This site doesn't have image"
End If
End Sub
*************** ****
thanks in advance hipe to recieve your reply soon.
Comment