cancel
Showing results for 
Search instead for 
Did you mean: 

Pictures

Former Member
0 Kudos

I am designing a brochure in crystal reports and am having trouble with pictures.

The files of the pictures would be stored on a server so I would need to use a pathway to point to the picture.

I am having trouble with:

1. As the picture is been directed to, how to resise the picture at runtime so it fits.

2. I display pictures in the details sectiion; information about a car with a picture running aside (pictureo f the car), this picture would be looped so is there a way to change a picture so it is unque to its own information (Showing the correct picture with the correct detials, rather than 1 picture to all detials)

thanks

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

pathway

Former Member
0 Kudos

From the help file

To make a static OLE object dynamic

A dynamic static OLE object is a picture or metafile that you access in Crystal Reports by use of a file path or URL. Typically, you use this option when you have the path to your pictures or metafiles stored as a string field in a database (that is, you do not have the actual objects stored in the database). You can also use this option when you have pictures or metafiles stored on a network share, and you know these objects change occasionally.

The functionality of these dynamic static OLE objects (or dynamic graphics) is created in Crystal Reports through the use of a conditional formatting formula that allows you to link to static OLE objects by reference.

Note:

This feature is activated when you refresh your report data; therefore, you may not notice a change in the static OLE object until you click the Refresh button in Crystal Reports.

When you schedule a report that contains a dynamic static OLE object in BusinessObjects Enterprise, the instances that are created contain the version of the static OLE object as it existed in your Crystal report when you scheduled it. BusinessObjects Enterprise does not update the object dynamically for each instance.

Reports that use an absolute or a relative path for a dynamic static OLE object are not supported in a BusinessObjects Enterprise environment for this release. If you plan to publish reports that contain dynamic static OLE objects to BusinessObjects Enterprise, it is recommend that you use URL links for your OLE objects.

Right-click the static OLE object that you inserted, and choose Format Graphic from the shortcut menu.

Note: You begin the process of making a static OLE object dynamic by inserting the object into your report as usual. This object becomes the default object. If Crystal Reports cannot find the dynamic reference to the object, it uses the default object instead.

In the Format Editor, click the Picture tab, and then click the Conditional Formula button adjacent to the Graphic Location label.

In the Formula Workshop, create the path to your static OLE object.

For example, if your path is stored in a database field, add that field to the formula.

Click Save and close to return to the Format Editor.

Click OK to return to your report.

Click Refresh to update the reference link to your static OLE object.

Former Member
0 Kudos

clients would have their own DB

Former Member
0 Kudos

how are they storing the picture

1 in the database as a blob

2 as a reference to a file name ( and path)

3 some other way

Former Member
0 Kudos

how are you storing the picture

1 in the database as a blob

2 as a reference to a file name ( and path)

3 some other way