Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Page n of m from a program
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00854111
Message ID:
00854351
Vues:
42
---------
So, I don't see any benefit in the 'option' we have with _pagetotal.
----------

IMHO, _PAGETOTAL is a real non-event as an enhancement -- it just makes something explicit (and a bit harder to document for your team, as you're finding out <s>) that we always had (and had ways of documenting normally).

But let's agree to say _PAGETOTAL *is* a good idea for the people who want to use it. You're not quite seeing the point of the "optional" two-pass.

To say that raw performance was the only reason to make the two-pass optional is a drastic oversimplification.

There are people who run UDFs during a report triggering other activity, and these people really would not have been happy if their reports had suddenly, and non-optionally, started triggering each UDF twice just to support _PAGETOTAL <g>.

And then, of course, there are other people whose reports are *not* under 20 pages <g>. They would have been unhappy also.

Let's not even get started with what would happen with Preview as you paged happily back and forth between pages!

So, the people who implemented _PAGETOTAL did the best they could. They wanted to provide this enhancement for people who (for whatever reason) couldn't figure out how to do this without _PAGETOTAL, but they also (for good reason) had to do it in a way that would not disturb existing practices and that (for excellent reasons) could be intelligently omitted when a Preview was happening.

>L<
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform