Skip to main content
Solved

How to display images in report designer not knowing the image name

  • July 9, 2026
  • 2 replies
  • 25 views

Forum|alt.badge.img

Client is taking pictures of packages during the shipping process and wants to send those pictures to the customer in the shipment confirmation report.  The link between the Shipment table and the UploadFile table works fine and assume that we are only returning .jpg files.

There are two fields of interest in the UploadFile table:  Name and ShortName as they display in a text field.

  • Name field:  Sales Orders (011110)
  • ShortName field:  receipts camera352545645 20260602T203435 522.jpg

To display the image with database as the source, I used the formula:

 = [UploadFile.Name] + '\\' + [UploadFile.ShortName]

The issue is that it errors with:

The link ‘Sales Orders (011110)\receipts camera352545645 20260602T203435 522.jpg\receipts camera352545645 20260602T203435 522.jpg’ was not an image

I can’t find anyway to get the ShortName to not repeat.  I’ve tried substring, instr, and left functions.

Any ideas?

Best answer by johnw51

Never mind.  The entry in the picture box should be just  = [UploadFile.Name]

In a GI, the field displays the show file name but in a textbox in report designer, it only shows the first part of the name.  Not sure why the difference, but it works now.

2 replies

Forum|alt.badge.img
  • Author
  • Varsity I
  • Answer
  • July 9, 2026

Never mind.  The entry in the picture box should be just  = [UploadFile.Name]

In a GI, the field displays the show file name but in a textbox in report designer, it only shows the first part of the name.  Not sure why the difference, but it works now.


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • July 9, 2026

Thank you for sharing your solution with the community ​@johnw51!