General information
Category:
Reports & Report designer
Title:
Problem with end of group band on last page
Hello Everybody
I have a strange problem with an report. (VFP 9.1 + VFP 9.2)
The cursor is grouped by orderno
I print something at begin of page, at detail and at end of orderno.
Every orderno starts on a new page.
Everythin works. But:
If only the end of orderno band is on the last page, the report crashes ??? (value,typ or number of function arguments invalid)
This one works(pn = pagen)
p1 pageheader order 1
p1 detail
p1 detail
p1 detail
p1 detail
p1 end of orderno 1
p1 endof orderno 1
This one crashes
p1 pageheader order 2
p1 detail
p1 detail
p1 detail
p1 detail
p1 detail
p1 detail
p2 pageheader 2
p2 end of orderno 2
p2 endof orderno 2
This one works
p1 pageheader order 2
p1 detail
p1 detail
p1 detail
p1 detail
p1 detail
p1 detail
p2 pageheader order 2
p2 end of orderno 2
p2 endof orderno 2
p3 pageheader order 4
p3 detail
p3 detail
p3 detail
p3 detail
p3 end of orderno 4
p3 endof orderno 4
Only if the last page looks like this
pn pageheader order last
pn end of orderno last
pn endof orderno last
the report crashes??
If have no idear what i'm missing.
Any help welcomed.
Best regards
Albert
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only