Click here to Skip to main content
15,890,973 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a table with three sets of groups. All the data is from the same dataset.

The first set shows the district leading school in the school district.

The report needs to be laid out so the district leader record is in the header with all the sub-schools in the sub-group.

The problem is the district leading school is also printing as the first record in the sub-group.

How do I keep the district leading school info printing in the header but not as the first record in each sub-group?

What I have tried:

=iif(Fields!SchoolDist.Value = Previous(Fields!SchoolDist.Value), True, False)


I also tried this:
IIf(fields!SchoolDist.Value) = 1, True,False))
but this errors with a "wrong set of arguments" message.

I included this in the row of the subgroup that displays all my school records based on the city.

I also tried google search, stack overflow, and msdn.
Posted
Updated 17-Feb-17 4:04am
v2

1 solution

Ok - I answered my own question!

Here is what worked:
=IIF((Fields!SchoolDist.Value) = 1, true,false)


Removing the double quotes from my true and false did the trick. Hope this helps someone else!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900