Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1781
  • Last Modified:

Background picture in crystal report (8.5) disappears after closing report

I've inserted a picture from file (both jpg and png formats) on to a crystal report header section in order to provide a background. All is well and the report runs, displays and prints perfectly. However, on closing the report (size gorws from 35 KB to 35 MB) and reopening it, the picture is not displayed on the screen, although its frame is selectable and the file size is as large as before. (by the way the picture is A4 size and I've removed margines to force it to print edge to edge)
Has anyone come across this before?
1
Teknocraft
Asked:
Teknocraft
  • 3
1 Solution
 
dhobaleCommented:
Are you sure, you didn't insert it in page header instead of report header? If its inserted in page header, when you save the report, it may save the image for all pages. Although you may not see it outside the report. (just like your data)
0
 
TeknocraftAuthor Commented:
Yes - it is the report  header not the page header that I'm using. I even tried inserting a new report header section and put the picture in there without any other objects, with and without the "Underlay" option, but the effect is still there. The picture is visible when its first inserted and is seen in preview and print but as soon as you save the report (tried saving both with and without data) and reopen it, the picture becomes invisible. Interestingly, the OLE container is there and the repot size is the same but the graphics size has shrunk from the original 21 x 29 cm to 0.2 x 0.2 cm!
0
 
TeknocraftAuthor Commented:
I've now installed Crystal Reports Pro version 11 but the same problem is present in both versions.
0
 
TeknocraftAuthor Commented:
I discovered that the fault was with the picture and not Crystal Reports. After resizing the picutre in Paint and copying it to a new file it behaved correctly in Crystal.
1

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now