Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with end of group band on last page
Message
From
02/07/2008 09:48:34
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Germany
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Problem with end of group band on last page
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MySQL
Miscellaneous
Thread ID:
01328225
Message ID:
01328225
Views:
50
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
Map
View

Click here to load this message in the networking platform