473,320 Members | 2,147 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,320 software developers and data experts.

Report contains no tables

While assigning dynamically to the crystal report i get the error Report has no tables.

DataTable dtData=new DataTable();
dtData = objHIMS_Facade.GetBiz_MonthlyOPReport(rIndex, EmpType, year);

HIMS.Reports.DataSet1 dst = new HIMS.Reports.DataSet1();
dst.Tables.Add(dtData);
crptOPYearly.SetDataSource(dst);
crystalReportViewer1.ReportSource = crptOPYearly;
Oct 11 '10 #1
0 963

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Grant Stanley | last post by:
I'm developing an application in VS.Net 2003 using C#, which uses Crystal Reports. When creating each report, crystal asks where the database to use is, so I specify our SQL server using the ADO...
4
by: Bob Sanderson | last post by:
I am using a form to select a table and then opening a report using the selected table as the record source. This is a simplified description of what I'm doing. First, cboSelectBOM selects the...
3
by: Pecanfan | last post by:
Hi, I've got an access report which contains a sub-report. The sub-report contains various items in a group Footer which culminates in a running sum text box called txtGrandTotal. I want to...
3
by: tod4 | last post by:
Hi I have a report with 3 subreports where from I take a few value in VBA On Print event. Some value causes error so i wrote in my procedure such code: On Error GoTo err_bl err_bl: If Err =...
1
by: PlumeProg | last post by:
Hello, I can't find a way to bind a dataset at runtime as a source for my report source. I looked into msdn and found some sample : ms-...
0
by: alex9128 | last post by:
Hi, I have a VB.NET program with several CR.NET reports using ADO.NET Datasets. It takes data from Visual FoxPro 8.0 database. I have also two computers with VS.NET 2003 installed on both of...
0
by: mafandon | last post by:
This seems easy, but can't seem to get past it. Using VB 2005. In my report viewer for a windows forms app not using sql 2005 reporting services. I can get the grouping to work just fine and...
2
by: news.zen.co.uk | last post by:
I'm a bit new to Crystal Reports - I have a query that runs in my program and I am putting the query results into a datatable... I then use the following code to show the report: repDiary...
1
by: zoro25 | last post by:
Hi, I created a report based on a crosstab query and I need to add some filtering either in the report or in the query but can't find how to do it. For example, my report contains Site Name,...
3
by: leegold58 | last post by:
Is there an SQL statement that will search a table's attribute types and report if there are any text, Blob, or memo fields? Are there any other Access data types that can hold text information?...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.