if ({lms.seq} = 1) then {lms.des}
else if Not ISNULL({lms.des}) then {lms.itmchk};
When I run the above statement i get a error "A String is required here" near the second If statement.
What I want is decribed below.I have a three fields i.e seq,des,itmchk
if "seq = 1" display "des"
if "des" is not empty display "itmchk". "itmchk" will display either "True" or "False"
if "itmchk" is not empty replace "True" with Star.
I have a field in my dataset with type nvarchar(1000). when I link it to crystal reports, it converts it to a field of type string with length set to 100. As a result of that, the string in that field is being truncated on the report. How can I increase the string length to 1000? (I already checked the "Can grow" option).
I am trying to create a new report using the PUSH MODEL to supply data. I am creating a DataTable in my C# code and pushing this to a report using a templateI have created a report template and an XSD (using DataSet.WriteXmlSchema) and added this to my report using the Database Expert option. I have since deleted the xsd schema but the report still seems to be working.I was wondering why this was happening. Is the xsd file stored in the report?
Is there anyway to use a connection string from web.config for Crystal Report? The problem I'm having is that I develop on two different computers and on each I use a different IP to connect to the SQL Server. And when I deploy to a web server I use "localhost". So each time I get prompted for changes from the Crystal Report...
When I attempt to test my new report on my workstation in Visual Studio 2010 running the beta Crystal Reports for 2010 it can not find the folder containing the required files.
Is there a way to force it to find them so I can debug the code calling the report?
When i run the application locally it works fine but when i publish it n access from it it gives the error asEither the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.
I am create a simple report in visual studio 2008 by using crystal report. when I am run locally its work fine but when i copy web site and run this report its show following error.
Server Error in '/xyz' Application.
Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. review the specific error details below and modify your configuration file appropriately. Parser Error Message: Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
I have a ASP Web App that has been fine when deployed but now I've introduced Crystal Reports to it and is fine when testing.
On my Web Setup Project Ive right clicked, Add, Assembly and included:-
CrystalDecisions.Reportsource.dll
CrystalDecisions.Shared.dll
CrystalDecisions.web.dll
Ive run the setup on an pc away from the development environment but when connecting I get:-
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
Source Error: [Code]....
Source File: C:inetpubwwwrootMala_Ordersweb.config Line: 52 Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' could not be loaded.
I inherited some project which uses crystal reports. The datasource for startdate is in string format but I would like to make it up so that the time does not get added. Should I change the sql query somehow or can I make from the object in crystal reports (IFieldObject) to something more manageable.
I just want to place static text on my report. From the toolbox I placed an unbound field type string on my report but I can not set the text or value somewhere?
I'm new to Visual Studio.NET . I need to integrate the crystal reports into an ASP.NET application. I generated Crystal report with the help of crystal report XI developer edition(Stand alone version and NOT from the one which comes from visual studio).
How to integrate this report with the web application.
We have quite a few reports which were developed earlier in Crystal Reports 8.5. We are now planning to use these reports in our web application developed in VS 2008 (C#).
What dlls are needed for calling 8.5 in the application and how should they be added to the application while shipping it to the client?
They are also struggling to get the code running. Would also need the code to call the report with parameters.
I have serveral databases with same tables. I created a crystal report to show the report for respective logins from the database. I have a problem in it. In crystal report when i changing the database it should not change the respective table. It loads only the table what we give in the connection string first time.
I have already generated crystal reports but i've made them static. but now i want to make the user to select the criteria for generating the reports. for eg., in one of them i want to show monthwise data so user should be able to select the month and year and that would be passed as parameter and compared to the existing data. provide me with proper exact code that can be used for giving parameters in such a report using C#.
I am trying to write a simple string manipulation on a formula field. Left (string, N) returns junk character but if I hard code N to some numbers it returns proper string like Left(string, 10) returns good; Left (string, 10) --> returns good stringLeft (string, Instr(string, ">")); --> returns junkX := InStr(string, ">"); Left (string, X); --> returns junkHere is my formula field:
local StringVar temp; local StringVar temp1; local NumberVar x; temp := "<span style='font-size:10pt;font-weight:bold;color:red;'>testing</span>"; x := InStr (temp, ">"); temp := Left (temp, x); if (1=1) then temp;
In my system Visual studio 2008 with sp1 and Crystal Reports XI Release 2.In Visaul studio 2008 ,while adding add reference it showing crystal reports version 10 instead of 11.How to solve the version problem.
I am considering using Crystal Report 2008 as my tool of creating reports on my webpage.The only problem which I'm facing is that I have no control of the remote server which hosts my site (besides uploading files). I can't run a MSI to deploy the CR runfiles.I can't find anywhere in the CR user manual of how to deploy the runtime files without running the msi, and I'm not even sure it's possible.Have anyone deployed CR 2008 without running the MSI and without having to register any files?
I have developed few crystal reports using VS.2005 and now i want to deploy the same on my web server which is running Windows 2003 server and got installed only .net frame work 2.0.... so now i want to know how can i run those reports successfully and i have downloaded CRRedist2005_X86.msi and even crXIsp3 and 4 _net_server from business objects page and i do have Crystal Reports XI original CD.... while by using them can i run crystal reports on my web pages.
Reports Error when publishing a Website on to the Web Server---- The type initializer for 'CrystalDecisions.Shared.CrystalReportClientScriptManager' threw an exception