R
ryanmcwh
Hi,
I've been searching the forums looking at answers to this but none
of them seem to work for me. I have a table (tbl_countries) with 3
fields(flag_id,flag_name,flag_image). As you may be able to guess this
tables contains flags, field one is an autonumber, field2 a countries
name and field 3 is the local path on the machine that corresponding
countries flag(it is a text field not a hyperlink field).
I have been able to create a form frm_countries which properly displays
the flag image with the following code:
Private Sub Form_Current()
With Me
.imgImageDisplay.Picture = .flag_image
End With
End Sub
When i try and apply this same principle to a report nothing works. I
have seen that reports don't have exactly the same syntax in some
cases. I have used the same method on my report as i did on the form,
creating an image field setting the picture field to "none", making the
image "linked" not "embedded". I can ensure that the flag path field in
is the query the report is using. How do i create the same behavior i
have on my form in a report? Thank you for any help!
I've been searching the forums looking at answers to this but none
of them seem to work for me. I have a table (tbl_countries) with 3
fields(flag_id,flag_name,flag_image). As you may be able to guess this
tables contains flags, field one is an autonumber, field2 a countries
name and field 3 is the local path on the machine that corresponding
countries flag(it is a text field not a hyperlink field).
I have been able to create a form frm_countries which properly displays
the flag image with the following code:
Private Sub Form_Current()
With Me
.imgImageDisplay.Picture = .flag_image
End With
End Sub
When i try and apply this same principle to a report nothing works. I
have seen that reports don't have exactly the same syntax in some
cases. I have used the same method on my report as i did on the form,
creating an image field setting the picture field to "none", making the
image "linked" not "embedded". I can ensure that the flag path field in
is the query the report is using. How do i create the same behavior i
have on my form in a report? Thank you for any help!