Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with end of group band on last page
Message
De
02/07/2008 09:48:34
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Allemagne
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Problem with end of group band on last page
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MySQL
Divers
Thread ID:
01328225
Message ID:
01328225
Vues:
51
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform