FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
Page Numbering in Reports
Page Numbering in Reports
Débuté par david egan, 10 oct. 2005 15:12 - 1 réponse
Connectez-vous…
david egan
#1
Posté le 10 octobre 2005 - 15:12
Hi
I have a report which needs to reset the pagenumber to 1 on the break (the client code). I have tried iPageNum(1) in both the pre-print and post-print process but the best I can get is for the first client to get page 1 but every subsequent client starts at page 2. I tried setting iPageNum(0) but this gave exactly the same result . Any suggestions would be much appreciated.
David
Signaler
0
0
mat
#2
Posté le 11 octobre 2005 - 18:47
Hi
I have a report which needs to reset the pagenumber to 1 on the break (the client code). I have tried iPageNum(1) in both the pre-print and post-print process but the best I can get is for the first client to get page 1 but every subsequent client starts at page 2. I tried setting iPageNum(0) but this gave exactly the same result . Any suggestions would be much appreciated.
David
this is one of the bugs in the report editor, it seems to generate a page before it generates breaks. There are various ways to cope with that, I apply the following in a break header:
IF vIDWhse = -1 THEN vIDWhse = IDWarehouse; RETURN
IF vIDWhse <> IDWarehouse THEN
vIDWhse = IDWarehouse
iPageEnd() ; iPageNum(1)
END
Regards
mat
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte