Paste the graphics one at a time into eg IrfanView (wonderful freeware app)
and go to File, Save As and save them into a folder as PNGs. Irfanview will
let you do this. Put your db into the same folder so they will always stay
together. Note the file path to your pictures. In Windows Explorer, Tools,
Options, Folder Options, View, tick the box that says 'Show Full file path.
You can then copy this by pressing Ctrl & C. Note the name of your picture
In your report, in Design View go to Insert, Picture. Choose anything - it
doesn't matter.
Size the frame to the size you want it to be.
Click the the newly inserted frame, click on Properties
On the Format tab, next to Picture, delete the file path next to Picture.
Say yes you want to delete the picture. Next to picture, it will now say
(none) but your Image Frame will remain as a white square. On the Other tab
rename the frame to Pic1.
Next to Size Mode choose Zoom.
Click on the grey bar above above the section which holds your picture
frame.
In Properties, click on Events and On Format. Choose Event Procedure.
In the code page just above where it says End Sub put
Me.Pic1.Picture = "E:\Downloads\EvsClipArt\Animals\OURPETS\dog.png"
(substitute your own file path and file name of course, remembering the file
extension)
Add similar lines for the other pictures
so your whole code will now say:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Me.Pic1.Picture = "E:\Downloads\EvsClipArt\Animals\OURPETS\dog.png"
Me.Pic1.Picture = "E:\Downloads\EvsClipArt\Animals\OURPETS\cat.png"
End Sub
Evi