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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add line to last text box in a detail group conditionally

Status
Not open for further replies.

CrystalProcessor

Programmer
Apr 18, 2013
6
US
What is a good way to locate the last detail of a group, so a text box can be formatted to underline it? Ideally the output will look like this:

RP Header
PH
GH1 A
GH2
Details 123
Details 123
Details 123
___________
GF2
GF1 A
GH1 B
GF2
Details 123
Details 123
Details 123
___________
GF2
GF1 B

Thank you!
 
Insert a detail_b section and, instead of a text box, insert a line in it. Then go into the section expert->detail_b->suppress->x+2 and enter:

not onlastrecord and
{table.group2field}=next({table.group2field})

-LB
 
Thank you for the suggestion. In the end, I put a top line on the group below the details section. Next time, I will try your method.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top