Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to show unless at the end of reports
Message
From
20/09/2004 10:35:23
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00937367
Message ID:
00944006
Views:
21
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"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform