Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print some information in the group only once
Message
From
26/01/2007 13:38:33
 
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:
01189743
Views:
6
This message has been marked as a message which has helped to the initial question of the thread.
>>>>>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.

I meant that 'Always Print' fields go to 'Reprint on every page' header, and 'Print Once' fields go to 'Do not reprint..' header.

>
>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.
>
Maybe you shoud put _VFP.SetVar('nGroup',0) in 'Page Footer on Exit', and _VFP.SetVar('nGroup',1) to 'Group Header on Entry' ?
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform