cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Load logo

Former Member
0 Likes
496

Good morning

My idea is try to load a company logo according to the value from a field. (from a path)

it would be like:

If uppercase({?Site})='CIA1' THEN load or insert or xxxxx image from c:\logocia1.xxx (bmp or jpg) else

If uppercase({?Site})='CIA2' THEN load or insert or xxxxx image from c:\logocia2.xxx (bmp or jpg).......

This is in order to avoid to load the 4-6 logos in the same report showing the correct one and deleting the rest. or creating the same report for all the cias...

Could any of you point me how to do it ? i have found a lot of info about loading pictures dinamically or pictures saved on the DB, but nothing about loading the pictures from a path..

Thks & B. Regards

Jose Marin

View Entire Topic
Former Member
0 Likes

Jose,

There is no need to load any of the logos into the report. The easy way is to link the report to a shared drive containing the photos.

1) Create a parameter that has a list of the pics in the folder

2) Insert one pic into the report as a place holder image.

3) Right click the pic and choose Format Graphic...

4) On the Picture tab, click the x-2 button next to Graphic Location

5) Write a formula like this:


"C:\Documents and Settings\UserNeme\Image Folder\" & {?Picture Name Parameter} & ".jpg"

HTH,

Jason

Former Member
0 Likes

Jason,

Thks, with a modification this solve my issue.

Thks & B. Regards

Jose Marin