Print Page | Close Window

DataSet

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=154
Printed Date: 19 May 2024 at 3:46am


Topic: DataSet
Posted By: iceborg
Subject: DataSet
Date Posted: 24 Jan 2007 at 11:52pm
Is there a method to use a DataSet with variable structure(variable number of columns) as source for a Crystal Report?




Replies:
Posted By: BrianBischof
Date Posted: 25 Jan 2007 at 8:01am
You can't use changing columns in a crystal report dataset. The dataset has to be EXACTLY the same every time you run the report. Otherwise it gives you a Login dialog box. An alernative is to leave certain columns null and then hide them using the ReportDocument class.

-------------
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>



Print Page | Close Window