Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print some information in the group only once
Message
 
 
À
26/01/2007 10:40:42
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:
01189610
Message ID:
01189740
Vues:
7
>>>>BTW, after second thought, your idea would not work.
>>>>Should I explain why?
>>>
>>>Yes, please. I feel something is wrong, but cannot get it without actual testing.
>>
>>Because I also need to print something every time after the Only first time.
>
>Can it go to the second header?

Can you please elaborate on that because for some reason my idea is not working.

Or may be you can find what's wrong with my implementation of my idea: I added a title to the report, I put _VFP.SetVar('nGroup',0) in its OnEntry.

In the Group Header OnExit I put _VFP.SetVar('nGroup',1) and Group Footer on exit I put _VFP.SetVar('nGroup',0) In my Print When logic I use nGroup = 0.

Still this prints on each page and not only the first time the group starts.

Thanks a lot in advance.

UPDATE. Setting this variable in the Detail on entry solved the problem.

Now I just need to make sure I always print at least one detail line with the group footer(s).
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