>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