Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 30th, 2004, 03:42 PM
Authorized User
 
Join Date: Jun 2004
Location: Peterborough, Ontario, Canada.
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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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? glandgraf@gocfi.com .NET Framework 2.0 0 February 2nd, 2005 02:20 PM



All times are GMT -4. The time now is 11:13 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.