Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>>>I have designed a report to print customer invoices. I use a printer capable of printing two logical page on one physical pages (2 up). My problem is that if an invoice has an odd number of pages, I need to do an eject page so that the first page of the next invoice does not appear on the bottom half of the preceeding invoice. Someone from the Foxpro Usenet group suggested that I put an UDF in the summary band. I tried this and couldn't get it to work.
>>>
>>>Can anyone help?
>>what exactly did u try to do ?
I put the following code in the summary band of the report as a PRINT WHEN condition. I also tried the same operation in the group band of the report.
IIF(Check(),'','')
FUNCTION Check
IF _pageno%2=1
PAGE EJECT
RETURN .T.
ENDIF
RETURN .F.
Frank Mobley
>>u can probably just use an IIF on _PAGE (or _PAGENO) and issue an eject
>>
>>Arnon
>
>As far as I remember, EJECT is not working in VFP.
>
>Vlad
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