Hi
I have below code . I want that only Date should be displayed & in dd/MM/yyyy format.
"Ledger From : " & {?@frDate} & " To " & {?@toDate}
Thanks
Hi
I have below code . I want that only Date should be displayed & in dd/MM/yyyy format.
"Ledger From : " & {?@frDate} & " To " & {?@toDate}
Thanks
Hi
Is the below correct Syntax
If {@Amount} < 0 Then "Cr";
If {@Amount} > 0 Then "Dr";
If {@Amount} = 0 Then "";
Thanks
Hi
I have below formula . I want if Amount is + ve then 'Debit' , if -ve than 'Credit' , if 0 then '' in another column.
WhilePrintingRecords;
CurrencyVar Amount;
Amount := Amount + {spGeneralLedger0;1.Debit} - {spGeneralLedger0;1.Credit};
Thanks
I have a report that is driven by a stored procedure prompting for invoices generated for customers for a specific year. Prompt is Year.
The new request is to select a specific sales reps customers or all.
Easy to make a list of available reps but I would have to maintain the list if we have new reps come on board.
Hoping to make a dynamic prompt using the existing sales rep table. 2 issues came up.
1) need a way to account for All reps which I can't find a way to do using the Crystal Reports dynamic parameter
2) I get prompted for the year the store procedure requires after pressing enter a new screen pops up prompting for the rep select AND the year again which I entered on the first prompt.
I would insert a screen shot here but can't seem to figure out how
Hi
I have 4 parameters . From Date , To Date , Product , UserSign.
From Date & To Date to be mandatory. I am using Owor , Wor1 tables.
I want if user Enters From Date & To Date only then records get filtered only on date Basis.
if user enters Date & Product then records get filtered only on date Basis & Product
if user enters Date & UserSign then records get filtered only on date Basis & UserSign
if user enters Date , Product , UserSign then records get filtered on Date Basis , UserSign , Product.
Thanks
I have a web application in .net 4.0 working fine on my 64bit windows 7 SP 1 machine. It is having crystal report in it which is also running well where I using Crystal Report 13.0.0.2 and Microsoft Visual studio 2010.
problem starts when Update OS windows on server it is showing blank page in browser.
I think this due to doing Update OS windows,
I am facing error working with crystal report I dont have idea what is error
error is:
System.IO.FileLoadException: 'Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommonObjectModel, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)'
HomeController.cs
public class HomeController : Controller { private readonly studentdbEntities _studentdbEntities; public HomeController() { _studentdbEntities = new studentdbEntities(); } // GET: Home public ActionResult Index() { return View(_studentdbEntities.students.ToList()); } public ActionResult ExportStudent() { List<student> allCustomer = new List<student>(); allCustomer = _studentdbEntities.students.ToList(); ReportDocument rd = new ReportDocument(); rd.Load(Path.Combine(Server.MapPath("~/Report"), "CrystalReport1.rpt")); rd.SetDataSource(allCustomer); Response.Buffer = false; Response.ClearContent(); Response.ClearHeaders(); Stream stream = rd.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat); stream.Seek(0, SeekOrigin.Begin); return File(stream, "application/pdf", "student.pdf"); }
Web.config
<configuration><runtime><assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentity name="CrystalDecisions.ReportAppServer.ObjectFactory" publicKeyToken="692FBEA5521E1304" culture="neutral"/><bindingRedirect oldVersion="0.0.0.0-13.0.4000.0" newVersion="13.0.4000.0"/></dependentAssembly><dependentAssembly><assemblyIdentity name="CrystalDecisions.ReportAppServer.CubeDefModel" publicKeyToken="692FBEA5521E1304" culture="neutral"/><bindingRedirect oldVersion="0.0.0.0-13.0.4000.0" newVersion="13.0.4000.0"/></dependentAssembly><dependentAssembly><assemblyIdentity name="CrystalDecisions.ReportAppServer.XmlSerialize" publicKeyToken="692FBEA5521E1304" culture="neutral"/><bindingRedirect oldVersion="0.0.0.0-13.0.4000.0" newVersion="13.0.4000.0"/></dependentAssembly><dependentAssembly><assemblyIdentity name="CrystalDecisions.ReportAppServer.Prompting" publicKeyToken="692FBEA5521E1304" culture="neutral"/><bindingRedirect oldVersion="0.0.0.0-13.0.4000.0" newVersion="13.0.4000.0"/></dependentAssembly><dependentAssembly><assemblyIdentity name="CrystalDecisions.ReportAppServer.DataSetConversion" publicKeyToken="692FBEA5521E1304" culture="neutral"/><bindingRedirect oldVersion="0.0.0.0-13.0.4000.0" newVersion="13.0.4000.0"/></dependentAssembly><dependentAssembly><assemblyIdentity name="CrystalDecisions.ReportAppServer.CommLayer" publicKeyToken="692FBEA5521E1304" culture="neutral"/><bindingRedirect oldVersion="0.0.0.0-13.0.4000.0" newVersion="13.0.4000.0"/></dependentAssembly><dependentAssembly><assemblyIdentity name="CrystalDecisions.ReportAppServer.Controllers" publicKeyToken="692FBEA5521E1304" culture="neutral"/><bindingRedirect oldVersion="0.0.0.0-13.0.4000.0" newVersion="13.0.4000.0"/></dependentAssembly><dependentAssembly><assemblyIdentity name="CrystalDecisions.ReportAppServer.ReportDefModel" publicKeyToken="692FBEA5521E1304" culture="neutral"/><bindingRedirect oldVersion="0.0.0.0-13.0.4000.0" newVersion="13.0.4000.0"/></dependentAssembly><dependentAssembly><assemblyIdentity name="CrystalDecisions.ReportAppServer.ClientDoc" publicKeyToken="692FBEA5521E1304" culture="neutral"/><bindingRedirect oldVersion="0.0.0.0-13.0.4000.0" newVersion="13.0.4000.0"/></dependentAssembly><dependentAssembly><assemblyIdentity name="CrystalDecisions.ReportAppServer.DataDefModel" publicKeyToken="692FBEA5521E1304" culture="neutral"/><bindingRedirect oldVersion="0.0.0.0-13.0.4000.0" newVersion="13.0.4000.0"/></dependentAssembly><dependentAssembly><assemblyIdentity name="CrystalDecisions.Shared" publicKeyToken="692FBEA5521E1304" culture="neutral"/><bindingRedirect oldVersion="0.0.0.0-13.0.4000.0" newVersion="13.0.4000.0"/></dependentAssembly><dependentAssembly><assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/><bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/></dependentAssembly><dependentAssembly><assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/><bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/></dependentAssembly><dependentAssembly><assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/><bindingRedirect oldVersion="1.0.0.0-5.2.7.0" newVersion="5.2.7.0"/></dependentAssembly></assemblyBinding></runtime></configuration>
Line no 40 give an error see image
please help