Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Group footer in Report Footer
Message
 
 
To
14/11/2002 12:50:09
Yh Yau
Ingenuity Microsystems Sdn Bhd
Kuala Lumpur, Malaysia
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00722785
Message ID:
00722807
Views:
10
>Hi all,
>I have a need to print out descriptions in a page footer once a group ends. I cannot use the group footer as the position of this is not fixed relative to the bottom of the page.
>Is there a way to know from the system variables that I've reached the end of a grouping and going into the next?
>Thanks in advance
>Yau

How about this. Create a report variable called glEndGroup and set its value to .F. In the group header, add a field. In the expression for that field, call some function of your choice - MyGroupFuncStart(). In the group footer, add a field. In the expression for that field, call some function of your choice - MyGroupFuncEnd(). The code for these looks something like this:
FUNCTION MyGroupFuncStart
  glEndGroup = .f.
  return [ ]
ENDFUNC
FUNCTION MyGroupFuncEnd
  glEndGroup = .t.
  return [ ]
ENDFUNC
For all the items in your footer, put in the PRINT WHEN -- glEndGroup
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform