Wrox Programmer Forums
|
BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7
This is the forum to discuss the Wrox book Professional SQL ServerReporting Services by Paul Turley, Todd Bryant, James Counihan, George McKee, Dave DuVarney; ISBN: 9780764568787
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 30th, 2004, 03:42 PM
Authorized User
 
Join Date: Jun 2004
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default Non-recursive Data multi-level grouping

I am trying to build a report with grouping and I am not having success.

I use a stored procedure to return these fields:

PromptBnkMID (UniqueID of a group of questions)
PromptBankTitle (Title of a group of questions)
PromptID (UniqueID of a question or prompt)
PromptText (The question)
AnswerOptionText (The possible Answers)

I am trying to build a report to show the Prompt Bank (question group), the questions in the group, the possible answers.

It should look something like this:

            Prompt Bank Text
Question 1 Text
    Answer Option 1
    Answer Option 2
    Answer Option 3

Question 2 Text
    Answer Option 1
    Answer Option 2
    Answer Option 3

            Prompt Bank Text (next bank)
Question 3 Text...

I have been able to get the report to group by the Prompt Bank (Question group) and put the new Prompt Bank Text at the start of each new group.

It then shows each question either like this:

Question 1 Text

Question 2 Text

Question 3 Text

etc. etc. If I don't add the field for the answer options I can get each question 1 x.

OR

Question 1 Text
   Answer Option 1
Question 1 Text
   Answer Option 2
Question 1 Text
   Answer Option 3

etc.

This second is still properly grouped by Prompt Bank.

I cannot figure out how to show the Question Text once, then one new row for each answer option. There aren't very many settings in the Group screen but I cannot figure this out.



Sandy Murdock MCP
__________________
Sandy Murdock MCP





Similar Threads
Thread Thread Starter Forum Replies Last Post
.level and .data files question H2O BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 0 September 17th, 2007 06:03 AM
User Level Data Caching ghari ASP.NET 1.0 and 1.1 Professional 11 August 14th, 2007 12:06 PM
Grouping in XSLT at same level of hierarchy... concen XSLT 2 April 6th, 2006 10:12 AM
XSLT - 2 level grouping & sequencing krayan001 XSLT 3 June 27th, 2005 01:23 PM
Multi-level output w/ server side controls? [email protected] .NET Framework 2.0 0 February 2nd, 2005 03:20 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.