Forum Discussion
Report - Image Background in preview grey
- Dec 11, 2023Thanks. I am also going to ask a colleague who is much more involved with managing images to take a look at this problem.
I use png format.
I will try to hide the image box if no image is there.
I let you know if it works.
- George_HepworthDec 14, 2023Silver ContributorCongratulations on becoming an expert on Access reports.
Continued success with the project. - MikkoRieseDec 14, 2023Copper ContributorHello,
i found a solution.
I can set the pagebreak to visible=false.
This disables the page break.
Now i "only" have to some calculations based on the size of the sub reports to enable or disable pages breaks between the sub reports - MikkoRieseDec 14, 2023Copper ContributorThanks for your help and time.
I think grouping with nothing in it will not help.
THe images have to come in the first section, followed by a lot of sub-reports.
So i would need the detail section to be the first section.
But maybe i can use grouping inside the sub reports.
I think that should do it.
I am very thankfull for your advise.
I will try it this way and report later.
So do not spend time on this, as i think i will get it to work.
Thanks a lot again - George_HepworthDec 13, 2023Silver ContributorYou're exploring an aspect of reports of which I am not particularly knowledgeable. It sounds like there is something going on in the background of the report sections themselves.
I won't have time to explore until later today.
Maybe you could try to use a group header with nothing in it, and the images in the detail section to manage the page breaks. - MikkoRieseDec 13, 2023Copper ContributorHello
i removed all the grouping from the report (as a copy report).
And now the pictures look as they should.
But now the data of the sub-reports can not be hold together.
Do you know if i can disble page breaks via vba?
Then i could place page breaks between the subreports and disable them depending of the amount of data within the subreports - MikkoRieseDec 13, 2023Copper Contributor
Hello George_Hepworth
I still have the problem that the background for some images is grey.
I tried to just save the path to the images in the server, but this did not make any difference.
But i found another issue, that may cause the problems.
In the report i have to use multiple subreports and grouping to keep parts together,
as well as because Data come from different tables and querys.
Therefore the images are placed in the header part of the first group.
and then i have a gray background
If i just create a test report where i place the image in the detail section
then the background is white
Any idea why the image is displayed wrong in the header section and not in the detail section.
Or is there a way to keep subreport data togehter without using grouping?