crystal-reports

Stored Procedure not showing fields in Crystal reports

霸气de小男生 提交于 2020-01-21 17:25:07
问题 Using: CR in VS2010, SQL Server 2008R2 I have a SP that returns results when run in SQL Server, but when I add this to a CR it doesnt show any fields in the Field Explorer. But if I try any other SP, it works fine I can see its fields. Steps I am performing: Open existing CR Right CLick Database Fields --> Database Expert --> remove the old SP --> Add the new SP A window with Enter Values pops-up, I set all to NULL and click OOK The New SP shows up in the Database expert right side I can see

How do I achieve a pivot report in Crystal Reports for Visual Studio?

前提是你 提交于 2020-01-21 07:09:31
问题 I am a rank noob at any reporting but horizontal lines with sub-totals. I have a dataset that comprises the times spent by cars in a carpark. I must produce a table showing a column for each hour and a row for each day, showing the number of entries at a particular time on a particular day. I would find this easier in the RDLC designer, with it's columnar groupings, but I can't even find such a thing in Crystal. Help. 回答1: Assuming the following fields: {table.car_id} and {table.census_time}

Crystal Reports - “The report you requested requires further information”

一笑奈何 提交于 2020-01-21 05:56:08
问题 I have some Crystal Reports that were created using Crystal (external to Visual Studio) and are now loaded in the VS project. Before the report is previewed I set up the report database information like this in the report and all subreports. var connectionInfo = new ConnectionInfo(); connectionInfo.ServerName = "192.168.x.xxx"; connectionInfo.DatabaseName = "xxxx"; connectionInfo.Password = "xxxx"; connectionInfo.UserID = "xxxx"; connectionInfo.Type = ConnectionInfoType.SQL; connectionInfo

Crystal Reports - “The report you requested requires further information”

流过昼夜 提交于 2020-01-21 05:56:06
问题 I have some Crystal Reports that were created using Crystal (external to Visual Studio) and are now loaded in the VS project. Before the report is previewed I set up the report database information like this in the report and all subreports. var connectionInfo = new ConnectionInfo(); connectionInfo.ServerName = "192.168.x.xxx"; connectionInfo.DatabaseName = "xxxx"; connectionInfo.Password = "xxxx"; connectionInfo.UserID = "xxxx"; connectionInfo.Type = ConnectionInfoType.SQL; connectionInfo

Can I use an existing dataset in SSRS?

吃可爱长大的小学妹 提交于 2020-01-17 06:18:29
问题 Related to a question I've asked earlier regarding SSRS, could anyone please tell me - Is it possible to reuse an existing dataset in SSRS? I know we can have shared datasets and we can convert a dataset to a shared one too. Currently we are using Crystal Reports. We are trying to migrate to SSRS. So we were trying to reuse the existing dataset which we've used to create Crystal Reports. There is no option I could see to convert this dataset to a shared dataset so that I can reuse it. I could

Can I use an existing dataset in SSRS?

不想你离开。 提交于 2020-01-17 06:18:27
问题 Related to a question I've asked earlier regarding SSRS, could anyone please tell me - Is it possible to reuse an existing dataset in SSRS? I know we can have shared datasets and we can convert a dataset to a shared one too. Currently we are using Crystal Reports. We are trying to migrate to SSRS. So we were trying to reuse the existing dataset which we've used to create Crystal Reports. There is no option I could see to convert this dataset to a shared dataset so that I can reuse it. I could

Crystal Reports - Oracle 01861 Error

夙愿已清 提交于 2020-01-17 04:25:26
问题 I have a crystal report which passes a date into an SQL query {?Date} This worked when crystal is connected using an ODBC connection however on changing it to a 'Oracle Server' connection I get an error: ORA-01861: literal does not match format string I have tried removing to_char or to_date (as on research this seems to be the cause of the issue but to no avail) SELECT ACTIVE_SEPARATE.WO_NO, MCH_TYPE, 24 * (to_date(to_char(REAL_F_DATE,'DD-MM-YYYY HH24:MI:SS'), 'DD-MM-YYYY HH24:MI:SS') - to

Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.

◇◆丶佛笑我妖孽 提交于 2020-01-17 04:00:06
问题 Please help, I have been trying to fix this error for the better part of 8 hours so far. I have a report in Crystal Reports that just started throwing this error. I changed a field in the View that is attached to the report, so I opened up my XSD file in VS2010 and renamed the current DT to ViewTracker0 and then pulled in the ViewTracker view. I added my queries from the old DT, ensured that there is no primary key, double checked that each length of the fields were the same as the db,

supress zero rows in crosstab crystal reports

烂漫一生 提交于 2020-01-16 21:51:16
问题 I have crosstab looks like this Jan Feb Emp1 500 600 Emp2 600 700 Emp3 0 0 I want to hide the row3 as it has zero values. I have seen in crosstab expret to supress empty rows but that doesn't server the purpose. I want output like this Jan Feb Emp1 500 600 Emp2 600 700 回答1: Create a SQL Expression that returns a NULL: -- {@DB_NULL} -- Oracle syntax ( SELECT NULL FROM DUAL ) -- {@DB_NULL} -- MS SQL syntax ( SELECT NULL ) Create a formula field to convert 0 to NULL: -- {@data} If {table.field}

How to use subreport across multiple reports or create parent report from subreport?

徘徊边缘 提交于 2020-01-16 19:29:19
问题 I have a Crystal Report called MainReport in Visual Studio, which also has a subreport. The contents of the subreport are the header details but now this is required across a couple of other reports. Is there any way to re-use the subreport across other reports or a way to change it from a subreport to being its own parent report? Any help would be great! 回答1: According to the thread save subreport as an individual report from SAP: This option is only available in the full version of Crystal