Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print some information in the group only once
Message
 
 
To
26/01/2007 10:40:42
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01189610
Message ID:
01189740
Views:
6
>>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform