Surpress Blank Space when inserting images using OLE objects onto Picking Sheets

SUGGESTED

I figured out how to add images to our picking sheets, but not all items have images and those that don't leave a huge blank space where the image is supposed to be. Is there a way to "collapse" this space if there is no image associated with the product? 

I already have it set to suppress if there is no image file, using: 

formula = {CI_Item.ImageFile} = "" 

But it still leaves a big empty space. 

Parents Reply
  • 0 in reply to ArmanXavier

    Are you
    a) displaying an image stored in the database? 
    b) displaying an image stored on the hard drive (where the database only provides the path to the image)?

    If the use case is b, and the image is simply missing, you would need to detect whether the image file is missing. 
    While Crystal alone can't do that, there are 3rd-party User Function Libraries (UFLs) that allow you to use a Crystal formula to check if a file exists. See list of UFLs here

Children