Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining if report object is in last detail band on p
Message
De
18/04/2006 11:03:30
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01111796
Message ID:
01114286
Vues:
16
>I can't think of any way to do this other than running the report twice. Once to build a cursor that marks each detail record with the page number. Then you could run code to scan through and mark the record that happen to be the last ones on a page. Then when you run the report the 2nd time you could refer to that temporary cursor you built in the first pass.
>
>Not a pretty solution .. but the only one I can think of.


You don't needed that,

I see the last line at a page running twice time.

put a variable before get report.
lastrec=0
put in when any detail text:
If lastrec=Recno()
  wait wind "this is the last line!.."
EndIf 
lastrec=Recno()
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform