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

Dynamically "CHANGE GROUP" 1

Status
Not open for further replies.

ind123p

Programmer
Sep 28, 2005
62
I am using CR XI.

I have grouped on a formula @grpbystr. This formula
is as below:

@grpbystr
Select {?grpParam1}
Case "ENGMNTDESC": {@engDesc}
Case "CONCMP": {@ccmp}
Case "ENGTYPE": {@engTp}
default: ""

I have another formula @grpbynbr. This formula is as below

@grpbynbr
Select {?grpParam1}
Case "ContactID": {@contactID}

In GH1 I have grouped by @grpbystr.

Can I dynamically change the grouping to @grpbynbr based on parameter {?grpParam1} ? Meaning GH1 should now be grouped by @grpbynbr
 
Insert a second group on {@grpbynbr}. Since only one will apply, the other will have no impact on the groupings.
You can conditionally suppress the group headers/footers based on the parameter as well.

-LB
 
LB,
Your solution as always worked pefect.
STAR for you!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top