Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to show unless at the end of reports
Message
De
20/09/2004 10:35:23
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00937367
Message ID:
00944006
Vues:
18
Hi Lisa, did you send this Aaron too?


>---
>Keep in mind that your example below will only work when the records are not processed in any index order.
>---
>
>
>It also will not work if your scope is not the full cursor or report... And neither will i>=reccount().
>
>but this is easy to handle...
>
>Here's a good way to do it that also takes care of the index/order problem:
>
>
>lcScope = "ALL" && or "NEXT 1 " or "WHILE Whatever" etc...
>
>COUNT &lcScope TO iTotal
>REPORT FORM &lcScope
>
>* now the report expression uses i>=iTotal
>
>
>
>
>In 9, you don't need to do this <g>. You can use ReportListener.CommandClauses.RecordTotal to get the right answer...
>
>>L<
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform