MS SQL Server
  Home arrow MS SQL Server arrow Page 5 - Building a Multi-table Report with SQL 200...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Mobile Linux 
App Generation ROI 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MS SQL SERVER

Building a Multi-table Report with SQL 2005 Reporting Services
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 13
    2006-12-05

    Table of Contents:
  • Building a Multi-table Report with SQL 2005 Reporting Services
  • Create an RS Project
  • Connecting to data
  • Creating a query
  • Designing the table: choosing page and grouping
  • Deploying the report on the Report Server

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Building a Multi-table Report with SQL 2005 Reporting Services - Designing the table: choosing page and grouping


    (Page 5 of 6 )

    Choose Tabular and click on the Next button. The Report Wizard--Design the Table window shows up as in the next picture. From among the Available fields in the list on the left, you can use the Page>, Group>, and Details> buttons to transfer the desired fields to the right hand Displayed fields' lists. As shown here the page heading will show the ShipCity and the records for each will be grouped by City.

    Choose Table Layout

    Click on the Next button in the previous screen. This opens the Report Wizard--Choose the Table Layout window. There are two choices for the layout; if you want drill-down capability you place a check mark on the checkbox as shown.

    Choose Table Style

    Click on the Next button to open the Report Wizard--Choose the Table Style window as shown. There are a couple of canned styles from which you may choose. The Ocean style is chosen; a preview of what it would look like can be seen in the window.

    After choosing the style, click on the Next button. This opens the Report Wizard--Completing the Wizard window. This shows the summary for the report.

    When you finally click on the Finish button, the report, Report1.rdl, will open in the Layout view as shown in the next picture. You can see that the ShipCity is now in the Page section of the report. The City is shown as the first level of grouping and the rest are in the Details section.

    This is not the traditional banded structure present in earlier reporting software. In this view you can choose any object, right click the object to find its properties and change them if you need to. In addition to Layout, you can also access the  Data and Preview tabs.

    Simultaneously with the above window, the window shown next, Document Outline, also shows up. This document shows all the controls that you can access on the report.

    You may click a control in the Document Outline window to access the corresponding control in the Layout as shown in the next picture for the chosen textbox2.

    Now you can access the properties of textbox2 by right clicking on textbox2 in the Layout tab to reveal its properties as shown in the next window. This way you may access any control in the Layout and change its properties.

    Also, by hovering over objects with your mouse you can get details from the tool-tip that pops up as shown. This is pretty detailed and gives no room for confusion. Also note the title Report1 has been changed to Multi Table Report.

    You can look up the data your report is hooked up with by clicking on the Data tab. This will open up the Query Builder with all its bells and whistles. The toolbar at the top gives you complete access to your data. If you wish to make any changes to the data you can make them here and have them reflected in your report.

    When you click on the Preview tab, the program shows a progress bar (rather a circular animation) and after some time the report will be displayed. You can navigate the records and do a number of things by choosing the appropriate menu in the Preview tab.

    More MS SQL Server Articles
    More By Jayaram Krishnaswamy


       · SQL 2005 Server's RS is a full service reporting tool fully integrated with VS...
       · i would like to know how to generate multi-table ( belong to different databases)...
       · Hi,There is a very easy to use built for OEM integration solution that does...
     

    MS SQL SERVER ARTICLES

    - Completing the Introduction to Transact-SQL
    - A Brief Introduction to Transact-SQL
    - Lookups and Blocking Bad Data
    - Field Validation Rules for Blocking Bad Data
    - Using Masks to Block Bad Data
    - Blocking Bad Data
    - Using @@ROWCOUNT and TABLE Variables for Dat...
    - How to Use Variables, IF and CASE in Databas...
    - Creating Important Aspects of Notification S...
    - Working wth Variables in Database Interactio...
    - Delving Deeper into Notification Services
    - Notification Services
    - Building a Multi-table Report with SQL 2005 ...
    - A Secure Way of Building Connection Strings
    - Transferring a Database Using the SSIS Desig...

     
    Application Delivery: Everything You Wanted to Know, but Didn`t Know You Needed to Ask
    A comprehensive guide to examining the topics of Wide-area Data Services and app....

     
    Best Practices: Safe and Secure Hardware Asset Recovery
    Companies increasingly must meet EPA and local requirements for the disposal of ....

     
    Managing SSL Security in Multi-Server Environments
    Read this white paper to learn how to simplify management of your organization's....

     
    Open Source Security Myths
    Open Source Software (OSS) is computer software whose source code is available t....

     
    Power and Cooling Capacity Management for Data Centers
    This paper describes the principles for achieving power and cooling capacity man....

     




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
    Stay green...Green IT