Hi,
I have a question. I am currently using a variable component in a group
footer to hold the result of the detail. I was wondering how do I put this
result at the group header instead of group footer. I'm currently using
RB7.01. Thanks in advance.
Steven
Comments
If you place the variable in the group header, you can still have it show
the group total by setting its LookAhead property to True. This property is
available in the Delphi Object Inspector and in the popup menu if the object
by right clicking over it.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks for the reply. I had the LookAhead property set to True previously.
However, the result does not produce the right amount. Is it because I have
more than one group? I have 3 groups and these groups are within the
subreport. Do I have to set the ResetComponent property for that group?
Also there is a Reset Type property (default veReportEnd), do I need to
reset that as well? Thanks again for helping out.
Steven
LookAheard := True;
ResetOn := veGroupEnd
ResetComponent := {name of group}
--
Nard Moseley
Digital Metaphors Corporation
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Steven