Print Page | Close Window

My report is black

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Writing Code
Forum Discription: .NET programming API, report integration
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=1865
Printed Date: 03 May 2025 at 8:29pm


Topic: My report is black
Posted By: orson4music
Subject: My report is black
Date Posted: 11 Dec 2007 at 6:15am
Please Everyone,

I am programmatically assigning a data source to my crystal report document.

I also created a DataSet in my project which is used to create the fields in my crystal report.

could some please point me to the right direction of what may be wrong....


Confused



Replies:
Posted By: BrianBischof
Date Posted: 11 Dec 2007 at 11:47am
Do you mean that the report is "blank" or "black"? I assume you mean blank... Anyway, if the report isn't getting data from the dataset object then the likely causes are that you modified the XML Schema file from what it was originally (even the smallest change will throw off CR) and you need to do Set Location again to reset it. The other reason is that you need to specify the table name when you assign the dataset to the report's data source. Sometimes CR doesn't pick up the table name properly and doesn't display any data.

-------------
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