Wrox Programmer Forums
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics 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 August 8th, 2006, 10:50 AM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
Default Crystal Report Dataset

I have created a crystal report and tried to attach it to a dataset so I get certain rows from a table to populate the report with, but the report is pulling all the data from the table, so I end up with a report that fills over 300 pages. I have tried to attach the viewer to the report and the dataset using the code below.

        Dim oReport As New ItemsReport
        Dim ItemsData As New DataSet

        ItemsData.Clear()
        ItemsData = CItems.ItemsReport(ItemsReportJobID)


        oReport.SetDataSource(ItemsData)
        CrystalReportViewer1.ReportSource = oReport

Thanks,

Louisa





Similar Threads
Thread Thread Starter Forum Replies Last Post
Generating a Crystal Report using a dataset. Condor76 Crystal Reports 2 February 19th, 2007 06:45 PM
Crystal Report, Stored Procedure, Dataset clioz Crystal Reports 0 July 19th, 2006 06:28 PM
Creating a Crystal Report from a runtime dataset vbmazza ASP.NET 1.0 and 1.1 Basics 0 March 17th, 2006 07:40 AM
Crystal Report and Strongly-Typed dataset jaucourt Crystal Reports 1 February 9th, 2004 07:39 AM





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