Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Group Title

Status
Not open for further replies.

Polly66

Programmer
Nov 3, 2001
42
AU

Hello all,

I have this report (VFP9) that prints details of three fields in three columns across a page. I can group the report details etc, and everything else seems ok. But how do I create a customised header and footer for my groups. For instance, I have these three fields associated with a group called "Polly". I want to be able to have the header for the group called "Start Polly", and the end of the group detailed by "End Polly".

Thanks if anyone can help.

Bill
 
From what you say, can I assume that your table is roughly like the following?

GroupName Field1 Field2 Field3
Polly ABC DEF XYZ
Polly ABD DEX WXY
Fred 4DF 6FG B8R
Fred E9T C1L XX9

If so then in your Report Form you need to create a Group whose Expression is GroupName

Within the upper Group band (the header) you put the GroupName field's Text Box and make the expression whatever you like such as "Start " + ALLTRIM(GroupName)

Within the lower Group Band (the footer) you put the GroupName field's Text Box and make the expression whatever you like such as "End " + ALLTRIM(GroupName), or you could put other text, totals, etc.

Within the Detail Band (working for All Groups) you put the Fieldn Text Boxes.

Good Luck,
JRB-Bldr
 

Hi JRB-Bldr,

Thanks for the assistance. It is appreciated.

Bill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top