Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports 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 January 16th, 2004, 06:15 AM
Registered User
 
Join Date: Jan 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Changing source table of crystal report at runtime

How can i change the source table of a crystal report at runtime to another table with identical structure with in the same database in crystal reports using .NET.

I am using crystal rpeorts for .NET and MS Access 2000 as the database and VB.NET..

Can anyone help me..

Thank u very much...



 
Old January 16th, 2004, 08:35 AM
Registered User
 
Join Date: Dec 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,

You can use "Push model", where You read the data into a Dataset object, and You can use this filled Dataset object to generate documents. (Dataset object can be filled from different sources in runtime)
You can find more info in the help files (SetDataSource function of ReportDocument class in the CrystalDecisions.CrystalReports.Engine namespace).

Gabriel Forro






Similar Threads
Thread Thread Starter Forum Replies Last Post
CRYSTAL REPORT 9 Changing Connection Properties aquiintac VB Components 0 November 6th, 2007 05:17 AM
Crystal Report Changing Orientation garrysmith68 Beginning VB 6 0 June 6th, 2006 06:42 AM
changing Password dynamically in crystal report irfanthegame Crystal Reports 0 October 7th, 2005 06:59 AM
Sorting at runtime in Crystal report vidya ASP.NET 1.x and 2.0 Application Design 1 March 15th, 2005 01:57 AM
Changing Crystal report display dynamically Sujith Manuel Crystal Reports 0 December 17th, 2004 01:59 AM





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