SunQuest
 
       Database
  Home arrow Database arrow Page 3 - Generating a Multiple Table Crystal Report...
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 
Dedicated Servers 
Actuate Whitepapers 
Moblin 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
IBM developerWorks
 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? 
DATABASE

Generating a Multiple Table Crystal Report using VS 2005
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 9
    2006-11-28

    Table of Contents:
  • Generating a Multiple Table Crystal Report using VS 2005
  • Choosing a Data Connection
  • Choosing the Tables
  • Choosing Fields to Include in the Report

  • 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

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    Generating a Multiple Table Crystal Report using VS 2005 - Choosing the Tables


    (Page 3 of 4 )

    For this report we will be using two of the tables from this database. Click on the tables Customers and Orders and transfer them from the Available Data Sources area to the Selected Tables area as shown. You may use the > and >> arrows to make the transfer, or double click the item in the left to make the transfer to the other side.

    Now click on the Next button which takes you to the next step of the wizard, namely Link, as shown in the next picture. The Customers table has only the Primary key (shown in green) and the Orders Table is related to four other tables. The program has identified an existing relationship in the database file between the two tables. In the absence of such a pre-existing link you may need to link them. There are several options to manipulate the Links in this window.

    Establish a Link between Tables

    Database search efficacy depends on the indexing of columns and clicking on the Index Legend... button shows the color map for the indexing that may be associated with the Link window shown.

    Accept the default linking through the common columns CustomerID and click on the Next Button. This brings up the next step of the wizard shown where you need to choose the fields that are to be included in your report. The fields in the Available Fields area have columns from both of the joined tables.

    More Database Articles
    More By Jayaram Krishnaswamy


       · Follow the wizard and you are done. When multiple tables feed data to the report you...
     

    DATABASE ARTICLES

    - Database Programming in C# with MySQL : Usin...
    - Formatting Techniques for Data Access from E...
    - Data Access from Excel VBA
    - Generating a Multiple Table Crystal Report u...
    - ADO and the Command Object
    - On Wiring Up an ADO Data Control
    - Reading and Writing to Files on the Intranet
    - Using ADO Record to Create and Navigate Intr...
    - Using Data Access Pages to Access Data on a ...
    - Using ADO with the SQL Native Client
    - ADO`s Stream Object
    - Opening a Record Object Referencing an Open ...
    - Introducing Jasper (SQL Anywhere 10 Beta)
    - Creating a Database Project in VS 2005
    - Manipulating ADO Recordsets





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway