Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Report Grouping


Report Grouping

Author
Message
Bron Tamulis
Bron Tamulis
SSC-Enthusiastic
SSC-Enthusiastic (128 reputation)SSC-Enthusiastic (128 reputation)SSC-Enthusiastic (128 reputation)SSC-Enthusiastic (128 reputation)SSC-Enthusiastic (128 reputation)SSC-Enthusiastic (128 reputation)SSC-Enthusiastic (128 reputation)SSC-Enthusiastic (128 reputation)

Group: General Forum Members
Points: 128 Visits: 124
Grouping Question - Best advice

Here's my dataset

DocNum ItemNumber ItemType QtyOnHand

MO001 Item A LotTracked 5

MO001 Item B NotTracked 100

MO001 Item C LotTracked 2

MO001 Item D SerialTracked 10

MO002 Item A LotTracked 5

MO003 Item D SerialTracked 10

I have a report - user enters parameter - DocNumber

First Group is DocNumber (only group right now)

I want to add a second group (I think) which is dependent on Item Type (Item Type will always be one of three variables and will always be the same for every item number.

If a document (like MO001) has three different item types I would like three different displays - one for each type - in this group (?). Example

MO001 - Group 1

NotTRacked (Group 2 or is it details/body?)

Item B

LotTracked (Group 2/3 or is it details/body?)

Item A

Item C

SerialTracked (Group 2/4 or is it details/body?)

Item D

What's the most logical way to achieve my desired result? Do I create three groups (one for each type?) and 'hide' if no data is part of dataset?


Any advice/guidance is appreciated..........
Mark Fitzgerald-331224
Mark Fitzgerald-331224
Hall of Fame
Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)

Group: General Forum Members
Points: 3692 Visits: 1513
Within your tablix you have a group (DocNumber) and a details row at present. Create another group level between the two existing items, by adding a child group to the DocNumber level, or a parent to the details level.

Your group level should now be DocNumber...ItemType...(Details).

Fitz
Bron Tamulis
Bron Tamulis
SSC-Enthusiastic
SSC-Enthusiastic (128 reputation)SSC-Enthusiastic (128 reputation)SSC-Enthusiastic (128 reputation)SSC-Enthusiastic (128 reputation)SSC-Enthusiastic (128 reputation)SSC-Enthusiastic (128 reputation)SSC-Enthusiastic (128 reputation)SSC-Enthusiastic (128 reputation)

Group: General Forum Members
Points: 128 Visits: 124
Thanks - that's what I ended up doing. Works great except having hard time getting the DocNumber group to repeat on each page. Group Properties doesn't do it - I researched and another forum suggested using advanced mode in grouping - but every time I tried that I got an error message.

I'll eventually figure it out.............thanks for your response.

This forum is really a great asset to anyone trying to learn a challenging subject.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search