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!

Grouping on Subreport value

Status
Not open for further replies.

BB45

Technical User
Feb 3, 2005
42
US
CE 10
CR 10
SQL 2000

I am wondering if it is possible to group the main report on a value passed from the subreport.

In my subreport I have this:
@Advocate
shared stringvar Advocate;

shared stringvar Advocate:= {Client.Name};

shared stringvar Advocate;

In my main report I have this:

@Advo
Shared stringvar Advocate;

I want to be able to group by @Advo in the main report. Am I doing something wrong?

Thanks
BB
 
Yes, you cannot do that. You could, however, make your subreport your main report (and make your main report a subreport) and then you will be able to create the group directly on the field.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top