R
rknowles
I have created a grouping on a single field in a table. I have set
"Group Footer" to "Yes" so a footer will appear, if there is any data
in the field. There is only one control in the footer, and that is an
image control. So, if the field has data (which will be the path to an
image file) then the footer is shown, and I load the image control with
the image pointed to by the path, and everything is great.
My problem is that, in some cases, the footer is shown when there is no
data in the field. The image control is shown, but no image is loaded.
I have "Force New Page Before Section" set on the footer (because I
want the image to be on a separate page) so, when there is no image,
and the footer is shown in error, there is an extra, blank page on the
report.
Again, I have verified that the field in question has a NULL value in
the errant examples. Some records with NULL values in the field work
correctly, and the extra page does not appear.
Can anyone advise me on how to debug this? How can I determine why the
Footer's format event (and print event) is being fired when it
shouldn't be?
Thanks in advance for any help you can provide.
"Group Footer" to "Yes" so a footer will appear, if there is any data
in the field. There is only one control in the footer, and that is an
image control. So, if the field has data (which will be the path to an
image file) then the footer is shown, and I load the image control with
the image pointed to by the path, and everything is great.
My problem is that, in some cases, the footer is shown when there is no
data in the field. The image control is shown, but no image is loaded.
I have "Force New Page Before Section" set on the footer (because I
want the image to be on a separate page) so, when there is no image,
and the footer is shown in error, there is an extra, blank page on the
report.
Again, I have verified that the field in question has a NULL value in
the errant examples. Some records with NULL values in the field work
correctly, and the extra page does not appear.
Can anyone advise me on how to debug this? How can I determine why the
Footer's format event (and print event) is being fired when it
shouldn't be?
Thanks in advance for any help you can provide.