Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>It appears that _pageno is incremented after the detail so I thought I would be bright and use _pageno + 1 in my page header. It appeared to be working great until my customer informed me that the page number was not incrementing if a detail line item spanned accross multipal pages. Any suggestions. How can I make my own varible increment with every page. If I put the page number in the page footer it works great however this does not fit my customers specs.
Use a global varible and call a UDF to increment it in the page footer.
(1) In the page footer put a field with the value incrpageno(), set the print when to .F. and check remove if blank.
(2) In the detail section reference the variable nMyPageNo
(3)In the calling program do the following:
nMyPageNo = 1
report form myReport
function incrpageno
nMypageNo = nMyPageNo+1
return
I have not tested this but this is close to an answer.
Hope I helped
Robert
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement