Michael, If you are using the Page Footer then this is the wrong place. You must use the Group footer as when the group changes then hits the NEXT group the Group field has already changed to the next group and the last group calue is no longer available.
Hope this makes sense. Dave Crozier -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Savage Sent: 08 February 2007 12:58 To: FoxPro List Subject: Trouble with page footer and group footer I have a field that I display in the Header of a page and then I redisplay it in the footer. The report has also a grouping. The grouping is set to start on a new page. What happens is this: If there are enough records in a group to print a second page and if the second page has no records, i.e. the footer appears by itself on a page, the field in the footer is different than the field in the header. I've tried a number of suggestions to no avail... Things like adding an empty field in the detail band that never prints (do not print if empty) To keep at least one record on each page. This failed as above. I tried placing a variable in the group footer that told me I was in the footer, and then had added a field in the cursor call pagefooter... This stored the value of the last one processed.. Any more ideas? TIA, Mike [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

