Report does not display JPEG images

The main form on our Web application has a rich text field. The documents in the database contain one or two images in JPG format. Displaying the images on the Web is no problem. But I need to print a report about all the documents in the database, and when I print from the client, it only shows the icons and the file name.

Using the FileImport command to import the images didn't work, so I created another rich text field, and puted the formula: @Command <FileImport> <JPG Image> <file01.jpg> but got the message: "The importation/exportation has not been configured." Do I have to configure anything in the server? (We're using Release 5.0 in Spanish.)

Your problem has nothing to do with your server. Handling import of a file is done locally in the Notes client. One possible solution is to have your report be created for a browser. Then you would not have the issue with importing the images.

I have successfully used this @Command to import an image into a rich text field. It requires that I place my cursor in the rich text field.

@Command([FileImport]; "JPEG Image"; "F:\\My Pictures\\office.jpeg")

Do you have comments on this Ask the Expert question and response? Let us know.

This was first published in June 2005