Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Line at end of report
Message
De
07/03/2006 15:46:42
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
07/03/2006 07:06:18
Paulo Pechula
Folhamatic Sistemas
Americana, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01102009
Message ID:
01102205
Vues:
16
>Hi, All.
>
>I have an ancient problem here. Three of my reports need a line or some kind of mark since the last group till the end of page.
>As my english is poor, I'll try to simulate that situation:
>
>Report Title
>[page header]
>[group1 header]
> . . . . Data . . . X . . . . Y
>[detail]
> . . . . . Some Sum (X) . . . .(Y)
>[group1 footer]
> ***************************************
> * *
> * *
> * *
> * *
> * *
> * *
> * *
> ***************************************
>[page footer]
>
>
>That block " ********** " is what I need to do. It must start on the Group Footer and ends at the Page Footer. I'm tired trying several ways to do that, but is being worthless so far.
>Instead " *** " I can use "whatever", but the blank rest of the page must be nullyfied somehow.
>I already used a trace starting at the Page Header till the Page Footer, but it doesn't work in all situations for me, cause the reports have different layouts between them (that trace would be printed in the detail - and this CANNOT HAPPEN). And that trace/block must be in the center of the page.
>Is there any king of control/variable in the VFP that indicates that the page is gonna ending?

Haven't played with .frx editing for quite a while, but... can you try to place a graphic of some sort to be a few pixels into the group footer, and a few pixels into the page footer, set it to stretch, and Print When EOF(). If that works, you could actually have a diagonal line, or a graphic containing such a line.

Another thing to try, to have a function in the group footer, something like this:
lEOF=eof()
if lEof
   nLine=_LineNo
   i=0
   nMaxLines=40
   do while nLine<nMaxLines
      i=i+1
      ? "*" at i
   enddo
endif
Again, haven't done much with reports in quite a while (all my reports are Excel reports), but tricks like this used to work once (upon a time) - they may work again.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform