Excellent
happy coding,
- Ludek
Excellent
happy coding,
- Ludek
Hmm, confusing. You say:
I have an open RPT, working fine with ODBC connection "bi1" pointing to DB named "db1" as the default DB on the sever.
But the current connection in the screenshot says bi2:
How do I square that?
Now, say we wanted to change from bi2 to bi3. You'd have to click on bi2 under current data source. The on bi1 under Replace with. At that point the <Update> button is enabled. You click that. Close, run. Voila the current datasource (db2) is replaces with db1 and you are now reporting off of db2:
- Ludek
Hi Guys,
I have downloaded the trail version of Crystal Reports 2013. Modified the Sub-report section on one of my reports to "Landscape" -> Ran in Epicor and it went fine but the Footers and headers are in the right place.. How can I fix this up...??
Please advise...
Hi Guys,
I have downloaded the trail version of Crystal Reports 2013. Modified the Sub-report section on one of my reports to "Landscape" -> Ran in Epicor and it went fine but the Footers and headers are not in the right place.. How can I fix this up...?? Something like into middle?
Please advise..
Thank you for your answers. They are both helpful and correct.
Hi Andre,
I have made some report with crystal report.
In my report, i use dynamic parameter to list all of values from database.
In my development PC, this dynamic parameter worked fine and show all list of values.
After i publish on IIS7, this dynamic parameter does not show anything.
Only some text box, and user must type on it.
Please help me solve this problem.
Regards,
Wahyu
I quickfixed this issue by changing the positioning with css on the div with the scrollbar from absolute to relative:
.insetBorder {
position: relative!important;
}
I tested this fix in IE8-11, Firefox and Google Chrome.
Please let me know if there is a final solution for this issue.
Hi
I have a large VB project that uses Crystal reports. i have recently migrated to Visual Studio 2013 (Crystal for Vs version 13 update 10)
i have 1 report that runs on my machine with no issues, but when i roll it out to users i get an error
my pc is running 64 bit windows, the majority of my clients are running 32 bit
the report has 2 parameters passed to it, both of which are dates. the date passed is in a date format and there is no issue with the data being passed.
i've tried it using 1 date only and get the same error
when the report is run on a client machine the following error is generated:-
?DateFrom and ?DateTo are both date parameters and both contain date values
please help i'm desperate and need to implement this report ASAP
************** Exception Text **************
CrystalDecisions.CrystalReports.Engine.FormulaException: A string is required here.
Details: errorKind
Error in File temp_deca800b-455d-4f71-89c9-d133bbd36626 {15C5702B-37A5-4833-BFE2-78E51ED36619}.rpt:
Error in formula Record_Selection:
'{VW_WitnessReport.CalendarDate} in {?DateFrom} to {?DateTo}'
A string is required here.
Details: errorKind ---> System.Runtime.InteropServices.COMException (0x80041019): A string is required here.
Details: errorKind
Error in File temp_deca800b-455d-4f71-89c9-d133bbd36626 {15C5702B-37A5-4833-BFE2-78E51ED36619}.rpt:
Error in formula Record_Selection:
'{VW_WitnessReport.CalendarDate} in {?DateFrom} to {?DateTo}'
A string is required here.
Details: errorKind
at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
--- End of inner exception stack trace ---
at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToDisk(ExportFormatType formatType, String fileName)
at Abbey.FrmPrintReports.WitnessReport(DateTime DateFrom, DateTime DateTo, String OpType)
at Abbey.FrmPrintReports.FrmPrintReports_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Hi Denis
This may be an issue with CR - we'd have to test that and see. Before I do have a look, I want to confirm that this indeed is a WPF app, not a winform app using the WPF viewer?
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
Hi Erik
Can you please see my comment here: ASP.NET Crystal Reports viewer vertical scrollbar not working
and comment? I'm adding a screenshot of what I see:
- Ludek
The issue occures with inline vertical scrolling of the viewer by setting these properties:
crystalReportViewer.BestFitPage = false;
crystalReportViewer.Width = width;
crystalReportViewer.Height = height;
It seems like you enabled scrolling on the element arround the viewer.
Message was edited by: Ludek Uher
Actually, in my case it is a result of setting the crystalReportViewer.Width and crystalReportViewer.Height.
In my app, I still do get the scroll bar, but it's about 90% the height of the viewer and does not scroll more than the 10% it has left over. In Firefox, it works fine. E.g.;
IE 11:
Firefox:
I'll see what R&D says.
- Ludek
To bad it will take that long. For now I don't have the issue anymore by changing the css position as I posted above. That a fine fix for now.
Thank for looking at my issue!
Using Crystal Reports for Visual Studio 2010...
I am using the same report file for a Win form and web form version of the same utility program. The report was built bases on a view to the database, and both programs populate the report based on a dataset which has the same columns with restrictive where clauses, based on user input prior to populating the report.
On the Win Form version, when the user clicks a group on the Group Tree, the report nicely navigates to the appropriate section of the report. However... on the Web version, the ReportViewer makes a return trip to the database, refreshing the data with the entire view, overwriting the original content. In other words, out of lets say 50,000 possible records, if I ask for 50, they are displayed as I want, but in the web report, if I try and navigate to any of the 50, I get all 50,000 (an no navigation), an unwanted return to the database.
I am perplexed, as it is the same report file used by both versions.
I tried hiding the Group Tree panel (I don't need it), per instructions (CrystalReportViewer1.ToolPanelView = ToolPanelViewType.None;)
But that only closes the panel, and it is still available to the user to open (icon remaining). Is it possible to really make the Group Tree unavailable?
thanks,
Mark
Place the report in session. See
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
At the risk of nauseating the readers who have no doubt seen posts like this a thousand times, I am faced with the prospect of migrating a very large Delphi Code base which is currently supported using Delphi 5. (Yes I know, it needn't be said.) This very large code base uses Crystal 8.5 for reporting and of course uses the very fine VCL code from back in the day. I understand that Crystal long ago quit supporting VCL (Delphi) in favor of .NET and I understand all the business reasons for having done so however, I still need to migrate a system that has a report base of well over 300 standard reports and countless custom reports.
The Question:
Is there any practical path for continuing to use Crystal Reports with a Delphi Code Base. We do use .net and indeed have many projects written in C# so there are .net proficiencies however completely rewriting this code base is not an option. In my research I have seen many ideas about this but they all seem a bit dated. My goal would be to update the code to 64 bit (Delphi XE6) and use the latest Crystal 2013. It is my understanding that Delphi XE6 can import .net assemblies much like it could import activeX. I am hoping someone can tell me if moving to Crystal 2013 and XE6 is practical or even doable.
Thanks in advance for all ideas and comments
Gary
Thank you Ludek. I had already read your wiki piece. Like I mentioned, the web service and data table have the same exact structure and what I am doing works perfectly on the development machine; it's only getting this error when I move it to a production web server (dev machine is Win7; server is WS 2012).
Perhaps one easy way for me to handle this quickly is not to change the data source type (always keep it as the web service for both report development and report run time) - but I do need to change some of the parameters of the web service URI string at run time, e.g. from "/Integration.svc/GetDataView/463/en/3/50" to "/Integration.svc/GetDataView/463/en/3/62" (only the last number changes). Could you please let me know the method or property to set to change the URI string for the XML web service data source (is it on the ReportDocument object?)? I haven't been able to find that anywhere. Thanks again, Richard.
The viewer's search button seems to advance to the next page. But this revealed a weird behaviour.
When I first open the report (I use the "Mountain Bikes" example from your SDK), the pager looks like this:
It says (1 of 1+) while the report has 11 pages. When I search for the word "bike", it highlights the results in the first page. When I click it again, it advances to page 2, and the pager looks like this:
After that, it remains of page 2 no matter how many I click the search button. Notice that the word "bike" exists in almost every page of this report.
Hello Ludek,
I've installed the CR2013 standalone designer and get same issues.
Screenshots & evidences provided on Don thread.
Regards,
Jean-Philippe.