Suppress embedded field blank lines in Crystal Reports XI is not working
Hi,
We have a text box in a Crytal Reports XI report which has address information in it as follows:
These are individual fields from the database. We check the "suppress embedded field blank lines" option for the text box and preview it in the designer and the suppression works as expected in that when the unit field is blank the whole address line isn't suppressed. However when we run this report using the Report Viewer control in a VB.NET 2005 application the whole address line is suppressed when the unit field is blank.
This appears to be a bug in the suppression logic when the Report Viewer is used to view a report. While yes we can embed a formula into the address line this adds extra maintenance and confusion which is not necessary as it works as expected in the report designer.
I have seen others which are having a similiar issue and the only suggestions are to create your own suppression using formulas, etc. which is only a bandaid and is not the best solution as the suppression works as stated in the designer but not in the viewer embedded in an application. Please indicate if this is a known bug and if this issue has been addressed and fixed in a new merge module.
We are running Crystal XI 11.5.0.313 for the report designer and have deployed the needed dlls to run the reports with our application using the CrystalReports11_5_NET_2005.msm merge module.
Thanks in advance for any assistance in resolving this issue!
Hello,
Moved to .NET SDK forum.
Upgrade to XI R2 SP 6, you are using the original release:
https://smpdl.sap-ag.de/~sapidp/012002523100011802732008E/crxir2_sp4_full_build.exe
https://smpdl.sap-ag.de/~sapidp/012002523100015859952009E/crxir2win_sp6.exe
And the distribution files are for Visual Studio version of Cr, not R2 build.
https://smpdl.sap-ag.de/~sapidp/012002523100013451312010E/crxir2_fp64_server_ins.zip
Or
https://smpdl.sap-ag.de/~sapidp/012002523100013451332010E/crxir2_fp64_net_mm.zip
Don
Similar Messages
-
Crystal Report Add-On not working
Hello Experts,
We have freshly installed Crystal Reports Add-On. when we start the add-on it says it is connected but when we try to access any of the forms in the Crystal Reports sap screen comes up with a message window stating
"There is already an open Datareader associated with this command which must be closed first"
which does allow any further transactions in crystal reports screens.
regards,
shreyasThread moved...
Please post Crystal Reports related questions only in the forum
Best regards,
Darius -
Help - Crystal reports 2008 - will not work
I am a Systems Administrator for a small company of 450 users.
I am unfamiliar with Crystal reports
We have a recent problem with Crystal Reports 2008, only 1 user in the company uses it.
Since I recreated a windows profile on this users PC who has Crystal installed.
She is using .CSV files as her data sources. These CSV files are on her local machine.
She is trying to load an RTM template file, then do a refresh, and it asks for a datasource?
We try to select Excel, but it asks for a username and password to connect to the excel Datasource, and anything we type in fails.
Previously a refresh just worked.
I uninstalled reinstalled, still asking to select datasource.
I installed this originally 4 months ago and we did not have this problem.
Can you please assist?Hello,
Sounds like possibly a Microsoft update which altered the security settings either on the CSV or the folder where it's located.
Can she create a new report off the CSV if she copies it locally? I assume the csv is on a network share?
Don -
The "next" button of crystal report viewer does not work
hi
I use crystal report viewer control to show my crystal report on my aspx page.
like:
<CR:CrystalReportViewer id="CRViewer" runat="server" HasRefreshButton="False" PrintMode="ActiveX" DisplayGroupTree="False"
AutoDataBind="True"
SeparatePages="TRUE"
Height="520px"
Width="900px">
</CR:CrystalReportViewer>
however when I try to navigate to next page by click "Next" arrow button on the crystal report viewer toolbar, it only can navigate to the page 2, whatever I click the "Next" button, it still stay on page 2,
actually this report has 10 pages.
On the other hand, if I input the page number, such as 5 on the "goto" textbox, it will jump to page 5 correctly.
Could you give me any good advices to solve this problem?
Thanks.There are a few threads discussing the issue in this forum. See if these provide some guidance:
"Next Page" wont go beyond page 2 in Html Viewer (Crystal.NET for VS 2008)
Re: Crystal Reports .NET Visual Studio 2005
Problem in CrystalReportViewer
Ludek -
Crystal report export button not working
Hi i have a problem with a crystal report.......that in a crystal report when i click the export button the page refreshes and my report is dissapears but nothing happens i am unable to export the report in any format what shoould i do....if u wan to see the code than i would also provide it on demand....
It gives an error of Failed to export using the options you specified. Please check your options and try again.Sounds like you are using one of our SDK's and wrote an application.
Need a lot more info.
Don -
Crystal Report .csv export not working
Hi Folks,
I developed reports in Crystal Report XI R2 version (with service pack 6) and calling them from Power Builder 11.5. When I export the report to .csv format I see only parameter names with values (supplied to call this report) in csv file.
For eg:
Parameters are
Start Date: 01/01/2012
End Date: 02/01/2012
CompanyID: 21234
Regular output:
colum1 colum2 ...... columnn
data1 data2 datan
data1 data2 datan
data1 data2 datan
..... 10 records
csv output looks like this:
Start Date 01/01/2012 End Date 02/02/2012 CompanyID 21234
Start Date 01/01/2012 End Date 02/02/2012 CompanyID 21234
Start Date 01/01/2012 End Date 02/02/2012 CompanyID 21234
..... 10 records
Please let me know what changes should I do.
Thanks
IndraOne more move to the correct forum; Legacy SDKs - SAP Crystal Reports
What CR SDK are you using?
How does an export to txt, CR and pdf look?
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports] -
Remove Blank Space from Crystal report
Hello,
i am new in crystal report work.
recently, i have created one crystal report which display item and remaining other detail like tax detail,item grand total, Some extra remark,etc.
But my scenario is that if i take three or more item then it take two page that's ok. on that case i have no problem,
but if i take only single item it will take two pages.
how can i remove unnecessary area.
i attached below image for better understanding.
i also provide crystal report if required.
if there is image not visible then i also attach below.
Plz... Help me ASAP.
Thanks,It seems like your tax detail section is another sub report please compact the subreport if attached.
Right click on the object and select Format Object > checkbox "Supress Embedded Field Blank Lines"
Right Click on the section and click "Fit Section" -
How to suppress a blank section in crystal report
how to suppress a blank section in crystal report. although i have set the property
"suppress blank section "=true ,still i m unable to suppress my section
please help me to cope up this issue.
thanks in advanceOne recommendation I make, when troubleshooting suppression issues, is to put a visible border of the section, area or object to be suppressed, and borders for all objects contained in the section or area. This will help isolate what's suppressed, and whether the section is truly blank or has content that's blank.
Furthermore, I recommend indicating which SDK and what version you're using when posting.
Sincerely,
Ted Ueda -
VS2005 Crystal Report Print Report Button is not working on Windows 7 x64
Hi There,
My application is written in VS2005 C# on x86 machine. It runs smoothly on XP pro and Vista x86 machine.
I deployed the same to windows 7 x64 machine with CRRedist2005_x64.msi and found that the Print Report button is not working.
So, I re-compiled my application to x64 target platform, and reinstall the application to the same machine. But nothing changed. I have surf for answer over the web but nothing found.
Please help urgently. Any helps is much appreciated. Thks in advance.
Edited by: chanpyvivian on Mar 26, 2010 11:14 AMI follow your instruction as below:
1) download the sample app vbnet_win_printtoprinter.zip to dev computer and compile it to .NET 2005.
- Run from my dev computer
- Click "Print Report" button
- Error message display - please see below
The error was due to the default printer name hard coded in the program was not found. I have edited to my printer name and it can be printed out with no error.
2) Use a "saved data" report so that you do not have to worry about database logon.
can't find the "saved data", please elaborate
3) Then copy the exe to the 64 bit box and try to print using this sample app.
-do you mean copy the exe to the 64 bit computer for testing ?
ERROR Message
CrystalDecisions.CrystalReports.Engine.InvalidArgumentException:
Invalid printer specified. ---> System.Runtime.InteropServices.COMException (0x80000201):
Invalid printer specified.
at CrystalDecisions.ReportAppServer.Controllers.PrintOutputControllerClass.ModifyPrinterName(String newVal)
at CrystalDecisions.CrystalReports.Engine.PrintOptions.set_PrinterName(String value)
at CrystalDecisions.CrystalReports.Engine.PrintOptions.Copy(PrintOptions src)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
--- End of inner exception stack trace ---
at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
at CrystalDecisions.CrystalReports.Engine.ReportClass.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.get_FormatEngine()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(Int32 nCopies, Boolean collated, Int32 startPageN, Int32 endPageN)
at PrintToPrinter.Form1.Button1_Click(Object sender, EventArgs e) in C:\Crystal\CRNET\vbnet_win_printtoprinter\vbnet_win_printtoprinter\Form1.vb:line 91
OK
Edited by: chanpyvivian on Mar 30, 2010 6:18 PM -
Crystal report 9 supports frame work 2.0
Hi experts,
we are using Crysatl report 9 and build the reports using VS2003 with the frame work 1.1.4322.
We are fetching the online report by deploying the same in the IIS server which has the frame work [1.0,1.1,2.0].
When we use Asp.net frame work 1.1.433 in the virtual directory, we have are not getting any issue.
If we go for Asp.net frame work 2.0.50727 in the virtual directory, we are receiving an error message in the event log as below:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 12/19/2011 10:44:31 AM
Event time (UTC): 12/19/2011 5:14:31 AM
Event ID: 3099bcd049ab452cab409d38c750f222
Event sequence: 6
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/Root/Solitair-Reports-2-129687452447349006
Trust level: Full
Application Virtual Path: /Solitair-Reports
Application Path: C:\SOLITAIR\KAReportingSystem-Solitair\
Machine name: AAA
Process information:
Process ID: 3936
Process name: w3wp.exe
Account name: NT AUTHORITY\SYSTEM
Exception information:
Exception type: SqlException
Exception message: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Request information:
Request URL: http://localhost/Solitair-Reports/Main.aspx
Request path: /Solitair-Reports/Main.aspx
User host address: 127.0.0.1
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\SYSTEM
Thread information:
Thread ID: 1
Thread account name: NT AUTHORITY\SYSTEM
Is impersonating: False
Stack trace: at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Connect(Boolean& useFailoverPartner, Boolean& failoverDemandDone, String host, String failoverPartner, String protocol, SqlInternalConnectionTds connHandler, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject, Boolean aliasLookup)
at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at KAReportingSystem.MainForm.Page_Load(Object sender, EventArgs e) in C:\Inetpub\wwwroot\KAReportingSystem\Main.aspx.vb:line 28
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Kindly advice me
Thank you
Deepan
Edited by: Deepan1 on Dec 19, 2011 2:20 PMHi,
As you must have guessed, Crystal reports 9 is not compatible / tested / supported with .NET 2.0.
Take a look at below wiki.
[http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567|http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567]
- Bhushan. -
Crystal Report V9 do not display decimal value HELP!
<p>I have a field in Informix data type is Decimal(6,2)</p><p>when i used the field in the report, the decimal is not displayed</p><p>example: field1 = 305.50, in crystal report it only displayed 305.00, already setup the formatting. any possible solution?, please help!</p>
<p>have check all the options in my pc and crystal report, all seems to be ok, and have tried displaying an informix field decimal(5,2), and it displays ok (154.23) in my crystal report, but when trying to display the field decimal(6,2) crystal report display decimal up to 99.99, but when it reaches 100+, it will not display the decimal, very weird, help.</p><p>have tried the formula as well but still doesnt work.</p><p>any other possible solutions, pls help, thanks.</p>
-
Crystal reports 2008 will not allow multiple exports in a row
I recently had service pack 3 and fix pack 3.3 updated to my system ( crystal 2008) to help correct a issue with mapi not populating addresses from outlook when trying to export a report. I have a new issue. - sort of???
Now when I try to export multiple reports in a row I still have the same issue. I can send 1 report out. But if i try to send another report out i have the same issue that I had with mapi not populating the addresses field from outlook.
To get past this I shut down crystal and then bring it back up and I can send (ONE) report again before the same thing happens. Does anyone know if there is fix for this issue?Im not sure I agree with you designation that this report should be in the report DESIGN forum. I
My problem has nothing to do with report design in my OP. The MAPI function (in crystal reports itself) will not populate addresses once I export 1 report. When I try to export a second report that is when it quits works. This is basically the same problem that a hot fix or fix pack corrected but now instead of now working at all. I can only export 1 report before the same mapi issue happens???? -
CRXI Export to text - suppressed section creates blank lines
I'm using CRXI Proffesional - full version 11.5.11.1470
I have a report that uses the typical "stealth" subreport to obtain and pass info to the container, but remains invisible in preview mode. The fields in the subreport are all suppressed, the sections in the subreport are suppressed if blank and the subreport itself is suppressed when blank, the section that contains the subreport is also suppressed if blank.
This has always worked fine to get info into the container from the subreport while not creating any "white space" on the report.
Print preview and export to pdf both function just fine, omitting the blank lines.
It seems that exporting this to a text file is now creating blank lines for each occurence of the subreport.
I have seen this problem in a couple of forums but have not seen a resolution yet.
Does anybody have any idea how I can stop the exporting of suppressed blank sections ?Good morning.
We've got something to get straight first
When you say "...from the Report Viewer. The report printed as expected on HP printer...", do you mean the viewer of the .NET app, or the viewer of the CR designer?
And version 12.0.0.683, is very old (well as far as CR is concerned anyhow ). That version is SP 1, we are now on SP 2. So that will be the place to start. Get to SP 2 which can be downloaded from here;
https://smpdl.sap-ag.de/~sapidp/012002523100009038092009E/cr2008win_sp2.exe
Ludek -
Fields missing while printing crystal reports !!
Hello everyone
I have a crystal report application in VB.NET 2005, which gets the values of a field from the database and supports printing of the report in the following formats
1. pdf
2. directly to a printer - printout
When i export the report using reportdocument to pdf , all the fields are getting printed : Normal - As expected
But when i print the report directly using PrintToPrinter method,i am not able to print some of the fields. i.e some of the entries are missing in that report printout
Can someone guess what could be the problem ???
Are there any limitations / preconfigurations that needs to be done apart from setting page size,margin before using the PrintToPrinter method
Regards
SrivatsaOK, a few incongruencies here:
I'm using the version of the Crystal Reports that ships along with the Visual Studio.NET 2005.
- that would make is CR 10.2
We have also tried applying the latest service packs crxir2_sp4_full_build
- So SP 4 for CR XI release 2 would not do you much good as per above (if you are indeed using CR 10.2(?))
- How did you get to the crxir2_sp4_full_build? This is in a gated section of the SAP website. The only publically available SP 4 for CR XI r2 is "incremental... If you did apply crxir2_sp4_full_build, then you are working with CR XI r2 now...
The behavior is seen in the web application and the behavior is seen both in the dev and deployment system.
- So this does not work anywhere? If so, why bother going to deployment?
Also i tried exporting to pdf soon before / after printing. But the fields are present in the pdf and not on the printouts
- Confirm that you do see the fields on an exported PDF and when you print the PDF you get a blank printout?
More clarification needed:
We need to be absolutely clear on what version of Crystal Reports you are using. Open your .NET project, go to your references and look for CrystalDecisions.Crystalreports.Engine.dll. What version is this assembly?
Also, please answer the rest of the questions above.
Ludek -
Logic needed to print blank line in alv report
hi experts,
can anyone please tell me the logic for this
i want to logic one is
1) in alv report contains
a set of data contains 100 (5 datas)
and a set of data contain 200(5 datas)
i want to have one coloum containing serial no
ex for 100 i want to move no '5' to one coloumn ,but it should display only ones not for all 5 records.
same for 200 also i want to move 7 to this ,it should b displayed ones
i used for at new command alos its not working
2)suppose for particular date, 200 related records is not there
it should conatin blank line,displaying 'NIL'.
SO THE OPT FROMAT MUST BE
MATNR DOCNO
100 1000
100 1000
100 "
100 "
100 "
200 2000
200 "
200 "
200 "
200 "
SUPPOSE 200 RECORD IS NOT THERE THE OPT SHLD B
100 1000
100 1000
200 NILArun,
1)
If you are using the function module REUSE_ALV_GRID_DISPLAY, then use the internal table it_sort with a row for the column where you want the suppression of repeated values.
2)
If you are using the function module REUSE_ALV_GRID_DISPLAY, then simply ensure that your internal table t_outtab has the rows that you need containing 'NIL'.
John
Maybe you are looking for
-
How can I tell if my MacBook Pro has a Retina display?
I am happy to say, that I am the PROUD OWNER of a 15" MacBook Pro and I don't know if the one that I have has a Retina display built into it. I was looking on the forums, to see if I might be able to get away with installing a copy of Windows 7 Pro (
-
My iPhone 4S is no longer using the keyboard shortcuts
my iPhone is no longer working with the keyboard shortcuts I have set up.. Anyone else having these problems?
-
Printing problems with iWeb 1.1.2
I've created a website using version 1.1.2 that looks just fine online, but when I try to print it out some of the text formatting goes missing. I've tried both Firefox and Safari and neither works properly, although there are some variations in the
-
VS2012 - Compatabiltiy with Windows 7 and 8.1
I have started to develop a native C/C++ application using VS2012 to run on both Windows 7 and 8.1. The first test program that I wrote worked fine in both environments. After continuing development, the application would not run on 8.1 though it w
-
SOAP: "XI.Timeout" module in the sender adapter
Hi, Could you please explain in detail, how to enter the XI.timeout module in the soap sender adapter. Regards, Vishnu.