beautypg.com

Inserting a static ole object, Making a static ole object dynamic, Making a static ole – HP Intelligent Management Center Standard Software Platform User Manual

Page 420: Object dynamic

background image

Inserting a static OLE object

1.

Open or create a report that you want to insert a static OLE object in.

2.

On the Insert menu, click Picture.

Tip:

Another way to do this is to click the picture button on the Insert Tools

toolbar.

The Open dialog box appears.

3.

Select a picture (.bmp, .tiff, .jpg, .png, or . wmf) from a directory that you
have access to.

4.

Click Open.

5.

When the object frame appears, place the picture in your report.

6.

Right-click the picture, and notice that the picture is identified as an OLE
object on the shortcut menu.

When you double-click the object, nothing happens. A static OLE object
cannot be edited.

Making 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.

420

Crystal Reports 2008 SP3 User's Guide

OLE

16

Working with static OLE objects