2026-11-27

Sage 100: How Can I Display a Dynamic Image in Crystal Reports?

How can I display a dynamic image in Crystal Reports for Sage 100? Print each item's Item Maintenance picture on orders, picking sheets and invoices. A guide.

You have done the first half already: each item carries a picture in Item Maintenance, and you want that exact picture to print on the report or form next to that item — a different image on every line, pulled automatically. Crystal Reports cannot drop the item's picture onto the page straight from the item field. The technique that works is a placeholder picture whose file location is rewritten by formula for every record. Set it up once and the report does the rest.

The fix

  1. In Inventory Management > Main > Item Maintenance, confirm each item has its image assigned, and note where the image files live — normally a per-company folder under the Sage images path, such as ..\MAS90\Images\ABC\.
  2. Open the form or report in the Crystal Reports designer.
  3. Add the CI_Item table to the report if it is not already there, joined on the item code. Use a left outer join so lines for non-inventory items still print. (On work-file-based forms you can instead populate the image field in the work table, for example SO_SalesOrderWrk.)
  4. Insert > OLE Object, and choose PaintBrush Picture. Place and size the placeholder where the picture should appear.
  5. Right-click the picture and choose Format Graphic. Open the Picture tab and click the formula button next to Graphic Location.
  6. Enter a formula that builds the full path for each record: the image folder path, ending in a backslash, joined to the image file field — for an item listing that is the folder path & {IM_ItemListingWrk.ImageFile}; on other reports use {CI_Item.ImageFile}.
  7. Save the report and preview it from inside Sage 100. Each line should now show its own item picture.

Key requirements

Use a UNC path, not a mapped drive

A drive-letter path such as D:\Sage\... only exists on the PC that has that mapping. A UNC path (\\Server\Share\...\Images\ABC\) resolves the same way for every workstation and for the server. If a full URL works in your environment, that is an equally good choice — the point is a location every machine can reach identically.

The trailing backslash is not optional

The formula joins folder + file name as plain text. If the folder portion does not end with a backslash, the two halves run together into a file name that does not exist, and Crystal quietly keeps showing the placeholder.

Use JPG or BMP files

GIF files are reported not to render through this method. Convert item images to JPG (or BMP) before you assign them, and keep the file format consistent across the library so one odd file does not break a print run.

The image field must reach the report

The formula can only use a field the report actually has. If {CI_Item.ImageFile} is not in the report's tables, add CI_Item as above or carry the field through the work table — a correct formula against a missing field produces nothing.

Testing the path

If the preview shows the placeholder instead of your pictures, test the path before touching the formula again. In preview, click the image: Crystal tells you when the image was not found, which confirms a path problem rather than a report problem. Then paste the UNC path plus one real file name into Windows Explorer. If the picture does not open there, fix the path, the share permissions, or the file name first — Crystal cannot open what Windows cannot.

Handling items with no picture

Lines without an image leave an empty box and wasted space. Add a suppression formula on the picture (or on a dedicated section holding it) that hides it when the image field is empty — in Crystal syntax, suppress when the field is null or equal to "". Keep the Picture tab scaling at 100% and pre-size your source images consistently, so one oversized photo does not distort a picking sheet. If your report runs for more than one company, build the company folder portion from a company-code formula instead of hard-coding ABC into the path.

Affected versions

Demonstrated on Sage 100 2018 with the Crystal Reports designer used for Sage 100 forms and reports. The same OLE Object and Graphic Location technique applies across Sage 100 versions that use Crystal forms, including Sales Order forms, picking sheets, invoices, purchase orders, and item listings.

If the fix doesn't work

  • Verify the exact file name in Item Maintenance matches the file on disk, including its extension.
  • Re-check the formula result for one item by building the path by hand and opening it in Explorer.
  • Confirm the report you edited is the copy Sage 100 actually prints — forms are often customized per company and per workstation.
  • Try one known-good JPG in a test company folder to separate a path problem from a file problem.

Tips and best practice

Keep every item image in the standard per-company Images folder, name files predictably, and standardize on one format and a sensible maximum size. Do that, and new items start printing their pictures the moment the image is assigned — no report edits needed.

Related help

Still stuck? Send us a screenshot of the error, we will diagnose it for free.

Digit Masters has supported Sage 100 and Sage 300 since 1997. Send the screenshot through our contact page or to contact@digitmasters.com, or call (800) 965-4262.

Ready to Optimize Your Sage ERP?

Speak with a CPA-led Sage consultant. Free initial consultation — English or Chinese.

Get a Free Consultation