Can I show product images on a product report?
Description
Cause
Resolution
Check the path to your company data
  1. Click , Help, then click About.
  2. In the Program Details section, make a note of the Data Directory.
  3. Click OK.
Add the image from the product record to a document.
  1. Select the document you want to amend, then click Edit.
  2. On the menu bar click Report, click Report Properties.
  3. Enter a new report name and description, then click OK.
  4. Select the Details section, then in the Properties pane set the Height as 0.8500.
  5. Press Enter.
  6. On the menu bar click Toolbox, then click Add Image / Logo.
  7. Click where you want the image to appear.
  8. Select Build an expression to select an image, then click OK >
  9. Enter the following expression: "Data path you noted earlier\\IMAGES\\"+ STOCK.WEB_IMAGE_FILE  

    When entering the data path, use \\ to separate the folders, for example:

    "C:\\ProgramData\\Sage\\Accounts\\2023\\company.000\\ACCDATA\\IMAGES\\" + STOCK.WEB_IMAGE_FILE

    If using an UNC path, use \\\\ at the beginning of the expression.

  10. Click OK.
  11. In the Properties pane, set the Size Method as Stretch.
  12. On the menu bar click File, click Save As.
  13. Enter a new file name then click Save.
  14. On the menu bar click File, then click Exit.
[BCB:19:UK - Sales message :ECB]

 

 

Steps to duplicate
Related Solutions