473,761 Members | 2,824 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5244
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*****@discus sions.microsoft .com> wrote in message
news:80******** *************** ***********@mic rosoft.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*****@discus sions.microsoft .com> wrote in message
news:80******** *************** ***********@mic rosoft.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*****@discus sions.microsoft .com> wrote in message
news:12******** *************** ***********@mic rosoft.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*****@discus sions.microsoft .com> wrote in message
news:80******** *************** ***********@mic rosoft.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
19182
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 Report at runtime? Example: private void button1_Click(object sender,
7
4031
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 runtime, the report still showed the results from the default query (from within the Crystal Report). Then I tried the XSD solution where you define a dataset (that mataches the database and the Crystal Report) and have the Crystal Report use this....
19
3881
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 ReuseParameterValuesOnRefresh="True" in a viewer, but it still doesn't work. Did anyone run into this problem. What's the solution? Please help. Thank you
0
366
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 already imported 'into my project Rep.SetDataSource(myDataset) 'myDataset is correct and has the
0
2272
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 SQL Server DB (pull method). 3.)The Stored Proc has two input parameters of type date. 4.)The Stored Proc is a rather complex proc that was not written by me, but does work(see next item). It currently returns about 13K rows of data. 5.)The...
0
2977
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 report directly to the printer bypassing the Crystal report viewer altogether. When sending the job directly to the printer I use the PrintToPrinter command CR.PrintToPrinter(1, False, 0, 0)
7
6718
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 Viewer1.ReportSource = Application.StartupPath + "//Label.rpt"; How can I assign it a dataset which have the data of a particular range.
0
1022
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, first is call the Inquiry and second is called the Details... so, the process is like this... User need to pick color in the Details form...
8
3086
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 reflect the values they anticipate committing to see hypothetical totals of columns from a set of records. These records are displaying properly on my DataGrid but I'm not sure how to get Crystal Reports 10 to use as its datasource the dataset...
0
9377
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9989
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9925
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8814
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7358
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6640
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5266
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3913
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3509
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.