473,387 Members | 1,388 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Urgent... Crystal Report won't show data

I was working on a report that is populated with three different tables in a
strongly-typed dataset. The tables are populated from custom objects rather
than directly from SQL Server. I loop through the objects and add the rows
one at a time. I then push the dataset to the Crystal Report.

The report worked fine, until this morning. I added another field or two to
the dataset, and rearranged the report fields to organize the report better.
The data stopped showing up in the report. I didn't change anything drastic.
I am binding the report in the Page_Load event.

Why would this suddenly occur? Where can I even start to troubleshoot this?
I added a watch to the dataset, and I have verified that all of the
datatables are being properly populated with data. It doesn't matter if I
drag the fields from the Field Explorer into their own fields, or if I drag
them into a text field. No data at all is rendered.
Nov 19 '05 #1
3 5219
I'm just getting use to Crystal Reports.
I notice that after I change my stored procedure you need to refresh again
so that Crystal can rebind to anything added. In my case a change to the
stored procedure.

From the Menu go to Report -> Refresh Report Data or F5, it might ask for
some new parameter values, type in what's required on your report then you
should see Crystal pop up a MessageBox stating that something has change and
it needs to fix the report.

Hope that helps.
"Diggler" <Di*****@discussions.microsoft.com> wrote in message
news:80**********************************@microsof t.com...
I was working on a report that is populated with three different tables in
a
strongly-typed dataset. The tables are populated from custom objects
rather
than directly from SQL Server. I loop through the objects and add the
rows
one at a time. I then push the dataset to the Crystal Report.

The report worked fine, until this morning. I added another field or two
to
the dataset, and rearranged the report fields to organize the report
better.
The data stopped showing up in the report. I didn't change anything
drastic.
I am binding the report in the Page_Load event.

Why would this suddenly occur? Where can I even start to troubleshoot
this?
I added a watch to the dataset, and I have verified that all of the
datatables are being properly populated with data. It doesn't matter if I
drag the fields from the Field Explorer into their own fields, or if I
drag
them into a text field. No data at all is rendered.

Nov 19 '05 #2
I have done that; I have logged off/logged back on the server, verified the
database (found changes, updated the field list) and all of that stuff. I'm
stumped.

Just to clarify, it's not the new fields that aren't being shown; it's ALL
the fields, including ones that were previously being displayed in the report.

"gabe garza" wrote:
I'm just getting use to Crystal Reports.
I notice that after I change my stored procedure you need to refresh again
so that Crystal can rebind to anything added. In my case a change to the
stored procedure.

From the Menu go to Report -> Refresh Report Data or F5, it might ask for
some new parameter values, type in what's required on your report then you
should see Crystal pop up a MessageBox stating that something has change and
it needs to fix the report.

Hope that helps.
"Diggler" <Di*****@discussions.microsoft.com> wrote in message
news:80**********************************@microsof t.com...
I was working on a report that is populated with three different tables in
a
strongly-typed dataset. The tables are populated from custom objects
rather
than directly from SQL Server. I loop through the objects and add the
rows
one at a time. I then push the dataset to the Crystal Report.

The report worked fine, until this morning. I added another field or two
to
the dataset, and rearranged the report fields to organize the report
better.
The data stopped showing up in the report. I didn't change anything
drastic.
I am binding the report in the Page_Load event.

Why would this suddenly occur? Where can I even start to troubleshoot
this?
I added a watch to the dataset, and I have verified that all of the
datatables are being properly populated with data. It doesn't matter if I
drag the fields from the Field Explorer into their own fields, or if I
drag
them into a text field. No data at all is rendered.


Nov 19 '05 #3
This is what I'd do.
Create another report and just put 2 of the fields (new or old doesn't
matter) on the report, then run the report.
If you get data back then there's something wrong with the report you
modified. If you don't get any data back, then there's something with your
data source.
"Diggler" <Di*****@discussions.microsoft.com> wrote in message
news:12**********************************@microsof t.com...
I have done that; I have logged off/logged back on the server, verified the
database (found changes, updated the field list) and all of that stuff.
I'm
stumped.

Just to clarify, it's not the new fields that aren't being shown; it's ALL
the fields, including ones that were previously being displayed in the
report.

"gabe garza" wrote:
I'm just getting use to Crystal Reports.
I notice that after I change my stored procedure you need to refresh
again
so that Crystal can rebind to anything added. In my case a change to the
stored procedure.

From the Menu go to Report -> Refresh Report Data or F5, it might ask
for
some new parameter values, type in what's required on your report then
you
should see Crystal pop up a MessageBox stating that something has change
and
it needs to fix the report.

Hope that helps.
"Diggler" <Di*****@discussions.microsoft.com> wrote in message
news:80**********************************@microsof t.com...
>I was working on a report that is populated with three different tables
>in
>a
> strongly-typed dataset. The tables are populated from custom objects
> rather
> than directly from SQL Server. I loop through the objects and add the
> rows
> one at a time. I then push the dataset to the Crystal Report.
>
> The report worked fine, until this morning. I added another field or
> two
> to
> the dataset, and rearranged the report fields to organize the report
> better.
> The data stopped showing up in the report. I didn't change anything
> drastic.
> I am binding the report in the Page_Load event.
>
> Why would this suddenly occur? Where can I even start to troubleshoot
> this?
> I added a watch to the dataset, and I have verified that all of the
> datatables are being properly populated with data. It doesn't matter
> if I
> drag the fields from the Field Explorer into their own fields, or if I
> drag
> them into a text field. No data at all is rendered.


Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Stephan | last post by:
Hi, I'm using Visual Studio 2003 (C#) with the integrated Crystal Report software and have the following question: How can I assign a value (string) to an unbound (string) field in Crystal...
7
by: Phin | last post by:
I need your HELP! I've seen all the posts on using Crystal Reports within vs.net (vb.net) and changing a SQL query at runtime. When I tried to pass in a dataset into the crystal report at...
19
by: LP | last post by:
I am using (trying to) CR version XI, cascading parameters feature works it asks user to enter params. But if page is resubmitted. It prompts for params again. I did set...
0
by: Moondog | last post by:
Here's my VB.NET code: Dim RV As New frmReportViewer 'This is the form containing the 'Crystal Report Viewer Dim Rep As New DetailsReport 'DetailsReport is the name of my 'report. It is...
0
by: Chris | last post by:
I have the following situation in a VB.Net App I am working on: 1.)A report created in VS.Net 2003 using the CR.Net component of VS 2003. 2.)The datasource for the report is a Stored Proc in a...
0
by: John Smith | last post by:
Hello, I am developing a VB.NET 2003 application that will use lots of Crystal Reports. Sometimes the users will preview a report in a Crystal report viewer, and sometimes they will send the...
7
by: Jlo | last post by:
Hi, I have a c# winforms application. When I call the report file, it shows me all the records in the table. How can I make it to call only a particular range. i have the following code...
0
by: zahiran | last post by:
Hello there... I want to ask about using crystal report in VB.Net...involving SQL Server 2000 first of all, my application is a win-based application n i used VB.Net... i have created 2 forms,...
8
by: Brock | last post by:
I am trying to populate a Crystal Report from data in my DataGrid. The reason for this is that I want the user to be able to change values without updating the database, but still have their report...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.