Records are desappearing!!!
I have a very big problem with a kind of complicated report.
For each record, there is a number that identifies it. So, when I
preview the report, I see something like this
Detail # ,Name, Grade
On screen, everything is ok. When I send this to print, some records simply
disappears. When the record is the last of the page sometimes it doesn't
print but on another pages everything is ok. This just happens with reports
next to page breaks. What I did was resize the page, and It worked fine, but
now the problem is back and i can't see a solution for that.
And on another report, records next to page breaks appears duplicated.
What's the problem?? I am using Delphi6 and RB6.03. Thank you !!!
For each record, there is a number that identifies it. So, when I
preview the report, I see something like this
Detail # ,Name, Grade
On screen, everything is ok. When I send this to print, some records simply
disappears. When the record is the last of the page sometimes it doesn't
print but on another pages everything is ok. This just happens with reports
next to page breaks. What I did was resize the page, and It worked fine, but
now the problem is back and i can't see a solution for that.
And on another report, records next to page breaks appears duplicated.
What's the problem?? I am using Delphi6 and RB6.03. Thank you !!!
This discussion has been closed.
Comments
Unfortunately this is not a known issue with ReportBuilder. Here are a few
things you might try.
1. You mentioned that when you resized the page, this helped in the past.
This leads me to believe that the issue could be in your margin definition.
I believe by default ReportBuilder sets the margins to 0.25 inches however
some printer's unprintable area may still lie in the report area. Try
increasing the size of your margins and see if that helps.
2. Be sure you are not altering or updating your dataset while your report
is being generated. This tends to confuse the report engine and can cause
an incorrect report output. If you are unsure about this one, try
commenting out all your event handlers and see if that fixes the problem.
If it does, periodically begin adding the event code back to isolate the
problem.
3. There have been many fixes and enhancements since RB 6.03. You might
try downloading a trial version of ReportBuilder 7.03 and testing with that.
If this fixes the issue, you will need to upgrade to the latest version.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
On my report, i am trying to print a list of students. Each student have a
number. So, It will print something like this
1 - Carlson
2 - John
3 - Smith
4 - Peter
5 - Mary
6 - Jack
7 - Will
This listage above is what I saw in the screen. When I print I saw that:
1 - Carlson
2 - John
3 - Smith
4 - Peter
5 - Mary
6 - Will
You see that Jack dissapeared but his number is assigned to Jack. This
number is fixed in the database, so Report Builder picked the Jack number
and gave it to Jack. I am printing the number with a DBText component and
the nam with a Variable, I came to conclusion that the report is scrolling
my dataset but the fixed fields (i.e. not with variables) isn't being
update... Scary , isn't it? I need a solution for my costumer tomorrow, so I
don't know what to do
Usually when the screen output does not match the output on your printer,
there is some code being executed during the report generation that causes
this issue. Please take a look at your event handlers and be sure this
could not be happening here (#2 suggestion of my last post). If this does
not help, please put together a small example of this behavior only using
native Delphi and ReportBuilder components and the DBDEMOS database, and
send it to support@digital-metaphors.com in .zip format.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com