Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I always keep at least one detail record?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01191965
Message ID:
01192758
Vues:
36
Mathias,

Do you mean you put Group Footer information into Detail line wrapped with the condition? How does it help to solve the problem?

Also in the particular report I have in mind I have two groups... The second group footer is a bit large and causes orphan footer to be printed.

>I think you could achieve that.
>
>Might be smarter ways to do that now with the report listner but one solution i remember in previous versions of VFP was to mark the last record for very group. Make sure that's the last record for the group.
>
>Then in the group footer (NOT the summary) wrap the expressions in a double if: IIF(CheckLastRecord(), RealExpression, Blank).
>
>The footer is essentially 'bound' to the last group record.
>
>I can check the nitty gritty details if i have missed something.
>
>regards
>
>Mathias
>
>>Mathias,
>>
>>Thanks a lot for your response. The problem is, that sometimes group footer or summary is printed on a separate page without any detail information above. I want to prevent this, but I don't know is it possible?
>>
>>Thanks again and appreciate your thoughts.
>>
>>>Naomi how is that possible? I thought you always have to have something you were summarizing.
>>>
>>>Mathias
>>>
>>>>Hi everybody,
>>>>
>>>>Do you know if some generic algoritm exists to always keep at least one detail record on a page before the group footer? In other words, how can I not have orphan group footers or report summary?
>>>>
>>>>Thanks a lot in advance.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform