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?