Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display image in report without using database 1

Status
Not open for further replies.

swetham

Programmer
May 5, 2010
257
DE
I need to place multiple images depending on the code number entered in the parameter field. If i enter 1 i should get 1.jpg file and 2 means 2.jpg file.All the images will be stored in a folder. IS it possible to do without storing in database & how?

 
to display an image from an independent file, insert the picture, then right click and choose Format Picture, click on the the Picture tab, click on the x+2 next to Graphic Location and type in the location of your picture. type something like:

"P:\Files for Reports\Pictures\"&{CLIENT.ID1}&".jpg"

now for each client it will display the image from that directory which corresponds to the client's ID1.

to use a param instead of the ID, just replace that section of the formula w/your param.
 
for every row i am getting the same image
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top