Ask the Expert

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

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: