Problem in Crystal Report 2008 selectionFormula

Post Author: saro_j
CA Forum: Crystal Reports
Hi,
I am having a strange problem in Crystal report 2008. Earlier I was using VS 2005 Crystal report. Then we purchased Crystal report 2008.
When I open the VS 2005 projects it asks the reports to convert into Crystal report 2008. I did that.
Earlier I was using the following syntax for passing the date as selectionFormula
Dim selectionFormula As String = "{tblClient.Name} = '" & ddlClient.SelectedItem.Text & "' and {TBILL_File_Format.Week Ending Date} = #" _& Convert.ToDateTime(DtCtrlProDateFrom.DateTimeValue) & "#u201D WeeklyReportByClientNameReport.DataDefinition.RecordSelectionFormula = selectionFormula
But now when I run this same it says
This field name is not known. Details: errorkind Error in the file rptWeeklyReport.rpt: Error in formula Record_selection: 
u2018{tblClient.Name} = 'ABC10' and "{TBILL_File_Format.Week Ending Date} = #04/20/2008#u2019 This field name is not known. Details: errorkind
I have no idea about this
Even If I tried to pass as follows
selectionFormula = "{TBILL_File_Format.Week Ending Date} = DateTime (2008, 04, 25, 00, 00, 00) and {TBILL_File_Format.Client Code} = 'ABC10' "
I couldnu2019t see any record on the report except Grouptree of the report. If I export the report it has all the data as I expected.
Please help me out on this regards.
Thanks in advance
Saravanan

Post Author: jehanzeb
CA Forum: Crystal Reports
Hello,
I use CR2008 and VS2005, it never asked me to convert the file into VS2005. What do you mean by VS 2005 asked you to convert the file? Did you make the file in CR2008 and then imported it into VS2005 as a Report Document?
I usually create a report on CR2008 and then move that report (copy) to the same folder as VS project folder, then from there I create a new Report Doc in VS and open the file.
As you mentioned when you export the report it works fine but when you run it it gives errors. I think it is because of the import of the report. Look at the error message as it says the field name is not known, I suspect it is not connected/imported properly.
"This field name is not known. Details: errorkind Error in the file rptWeeklyReport.rpt: Error in formula Record_selection: 
u2018{tblClient.Name} = 'ABC10' and "{TBILL_File_Format.Week Ending Date} = #04/20/2008#u2019 This field name is not known. Details: errorkind"
I think it is becasue of the import of the report or could be becasue you didnt save the report with an option of "save report data". Check your report and reimport it. might fix the problem:D

Similar Messages

  • Landscape Problems with Crystal Reports 2008 SP3

    My initial install of Crystal Reports 2008 was SP2 (12.2.0.290).  After installing SP3 and Fix Pack 3.3, I started to experience problems with reports in landscape orientation.
    The reports are set up as 11x8.5 in landscape.  They are loaded into a third party application that uses a Crystal Reports reviewer. 
    For some printers, the reports will reset to the 11x17 page size in portrait.  For others the reports stay at 11x8.5 landscape.
    The reports are typically set up with the "No Printer (optimize for screen display)" option active, but I tried a wide range of options including setting the "Microsoft XPS Document Writer" as the reference printer to activating the "Dissociate formatting Page Size and Printer Paper Size" option.  None of this helped.
    I backed out FP3.3 and that did not help.  After I backed out SP3, the problem went away.  It seems like something changed in the SP3 release that is causing this issue.
    What's the best way to communicate this to SAP?  I would like to see this fixed in a future patch.

    My initial install of Crystal Reports 2008 was SP2 (12.2.0.290).  After installing SP3 and Fix Pack 3.3, I started to experience problems with reports in landscape orientation.
    The reports are set up as 11x8.5 in landscape.  They are loaded into a third party application that uses a Crystal Reports reviewer. 
    For some printers, the reports will reset to the 11x17 page size in portrait.  For others the reports stay at 11x8.5 landscape.
    The reports are typically set up with the "No Printer (optimize for screen display)" option active, but I tried a wide range of options including setting the "Microsoft XPS Document Writer" as the reference printer to activating the "Dissociate formatting Page Size and Printer Paper Size" option.  None of this helped.
    I backed out FP3.3 and that did not help.  After I backed out SP3, the problem went away.  It seems like something changed in the SP3 release that is causing this issue.
    What's the best way to communicate this to SAP?  I would like to see this fixed in a future patch.

  • Probleming Installing Crystal Reports 2008 Service Pack 1 to Vista 64bit OS

    Hi There,
    Whenever I attempt to install SP1 to Crystal Reports 2008 I am unable to get past the disk space check.  It just continues to display the message below.
    "please wait while the installer finishes determining your disk space". 
    I found this to be an issue on the 64bit OS only because I can install to Vista 32bit no problem. 
    Please help.
    Thanks
    Mark

    Hi Mark,
    Try with this:
    Run a command prompt as administrator. From the start menu, select "All Programs", then "Accessories" and right-click on the "Command Prompt" shortcut and choose "Run As Administrator". From here you can use the following command to disable Data Execution Prevention (DEP) with the following command:
    bcdedit.exe /set nx AlwaysOff
    Keeping your command prompt open, run your setup or other process being stopped by DEP. Then, to turn it back on again, do the same and run the following:
    bcdedit.exe /set nx AlwaysOn
    Now try to install Crystal reports.
    Regards,
    Shweta

  • Problems installing Crystal Reports 2008 Server on Windows Server 2008 serv

    I attempted to install the Crystal Reports 2008 product on one of our Windows Server 2008 servers.
    After installing disk 1
    Crystal Reports 2008 Server attempts to open up in IE...... but opens up to a blank page
    http://bmlfileserver:8080/CmcApp/
    anyone have any idea why? why does it not prompt for the second CD?
    Is this a compatibility with Windows Server 2008?

    I'm attempting to install CRS 2008 on Windows Server 2008 as well, and I'm running into a few issues.  Did you ever get yours resolved?  I started by trying to use IIS, but I'm uninstalling it completely now and will try Tomcat instead.  Which route did you go?

  • Problem using Crystal Reports 2008 with DB/C FS ODBC Datasource.

    HI,
    I'm trying to use Crystal Reports 2008 to connect to an ODBC datasource that using the DB/C FS driver from dbcsoftware (www.dbcsoftware.com).  When I connect to the source and add a table it shows all string fields as 255 characters long when that is not the case in the data definition for the driver.
    This issue has been brought up and resolved in previous versions of Crystal Reports.  In Crystal Reports XI it was ADAPT ticket 00307997.  It's worth noting that even though this issue says it was resolved in version XI with service pack 4 I still experience it in that version of CR as well. 
    If anyone has a solution to this for Crystal Reports 2008 please share.
    Thank you,
    David Guthu

    Hi David,
    Looking over the Adapt it was fixed in CR XI R2 Service Pack 4. CR XI is not the same so not sure if this is a typo or not.
    I don't see a branch for CR 2008 so I'll create one for you but this may be a different issue. The adapt was for all fields coming back as 65K and not 255. Also this was tracked in 2004 and fixes created for all versions of Cr at the time. These fixes get rolled forward so I'm thinking FS changed their driver with their latest build or at some earlier build.
    Note from Developer:
    DBCFS ODBC driver return meta data (e.g. column type) as SQL_DOUBLE instead of SQL_NUMERIC.
    ODBC bind as SQL_DOUBLE or SQL_NUMERIC but always retrieve data (in this case column type) as SQL_NUMERIC.
    Have you contacted FS to see if they have any patches or updates available? Are they following ANSII 92 Standards?
    To build a business case for this issue can you purchase a single support case, once it's been resolved you can get a refund, the reason being it adds more weight to the issue and we can escalate it at a higher level. Otherwise it goes in as a low priority issue and no fix date set.
    Also, we can then pass files back and forth etc. which we can not do through forums.
    Can you turn on ODBC tracing? I would like to see what the trace file shows.
    Thank you
    Don

  • Problems Using Crystal Reports 2008 sample reports in CR2008 Basic

    I just downloaded Crystal Reports 2008 sample reports  from   
    [Service Packs, Hot Fixes, Samples, and Utilities|http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000714768&_SCENARIO=01100035870000000202&] to use them with  CR2008 Basic. I have trouble using them . It tries to connect to to a website to download an xml file. Has anyone tried these sample reports in CR2008 Basic ?

    From the portal you have mentioned, I had downloaded, "Crystal Reports 2008 sample reports - Demonstration" (demo_smpl.zip) which had three reports - Comparative Income Statement.rpt, Order Processing Efficiency Dashboard.rpt, World Sales Report.rpt.
    These reports work fine for me.

  • Crystal Reports 2008 Some problems

    I'm facing few problems with Crystal Reports 2008 :
    1. When you desing a reports that have its page height greater than its width the reports force you to use a Landscape even if you select portrait. this cause problem on most dotmatrix printers as they prints Landscape pages Veritically.
    2. When you design a reports with paper sise A4 and set it to Landscape you cannot drow a box or line that can be longer than the page width or even move it to the right edge or the report.
    3. When you double click on a report to open it with Crystal reports 2008 it bacame busy and you have to Switch to Crystal reports 2 or 3 times before it open the report.
    Thanks

    Hi
    This is with reference to your first query:
    Printing issues usually depend on the printer drivers; so would suggest you to update the driver to the latest version; For more information related to the Printer.
    http://help.sap.com/businessobject/product_guides/cr2008/en/xir3_cr_usergde_en.pdf.
    The issue occurs when width(Horizontal) is greater than height(Vertical).
    then it takes the page orientation as Landscape automatically however with Crystal Report Base version it gives the desired output.
    Hope this informationis helful to you.
    Regards
    Asha.

  • Two problmes between  Crystal Reports 2008 and Bex Query

    Hi Gurus.
    I have two problems with Crystal Reports 2008 when It obtains data from a Bex Query (SAP MDX query connection).
    1)     I have defined some Parameters Fields using the follow options:
    Type: String
    List of Values: Dynamic
    Value Options Level1:
                         Show on (Viewer) Panel :Editable
                          Prompt text: <text>
                          Sort Order: Ascending by value
                          Prompt With description Only : False
                          Optional Prompt: True
                          Allow multiple values: True
                          Allow discrete values: True
                          Allow range values: False
    When I execute the report with the client of Crystal Reports 2008 (the developer tool), in the initial screen shows a list box where I can select the values from the left box and add it to the left box (as a usually filter). When the number of options (LOV) is more than  the maximum of the system, I have a input box bellow the list box, where I can insert any value (manually) and a button to insert it into the left box. When I publish the Report in the infoview, this filter is modified and the input box where I can introduce manually values is not showed and I can insert only the values showed in the list box, it causes that I can`t select a lot of values that is in the master data of SAP BW, because they arenu2019t listed in the list box.
    There is any option to ability this option in the infoview.
    2)     My Bex query, have a date filter with variable in the restricted key figures, when I execute a Crystal Reports, the infoview (and the Crystal Reports 2008 designer) ask me 2 times the same date, first only the date and second the date and the rest of parameters (introduced in the report of Crystal Reports).
    Why I need insert the date 2 times? How can I modify the Crystal Report for ask me only one time all the parameters?.
    Thanks.

    Hi Abhilash.
    Thank you for your information.
    1) Yes, the parameters are created in the Crystal Reports designer. I have created the parameters in the Crystal Report because I use the same Bex Query to create some Crystal Report, in other case, I will need create some Bex Query.
    2)The Bex query has the date filters and I have created some filters in Crystal Reports designer, the date filter from the Bex query is created automatically in the Crystal Report Designer but I don't use it, I haven't created it anytime. I use my filters only in the record selection. The date filters from the Bex query is showed as Static, and I can`t delete it, if I modify the parameter to dynamic or static with values, at first step ask me again static without values and the second step of the report execution ask me the parameter as I have defined in Crystal Reports Designer, my parameters fields are dynamic. A lot of reports have subreport, but I have created one of them without subreport (to trial) and the Crystal Reports ask me the date filters at first execution, and when I insert the date filters, in the second step, ask me the date filters again and my parameters fields again.
    Thank you again.

  • Crystal Report 2008 - Run to Printer error

    We upgraded our FSCM8.9 to FSCM9.1. We can run the crystals to file. But while running it to a network printer, I receive the following message. "Crystal Runtime exception: The printer specified can not be found. It may not be accessible in the current security context."
    Do any have faced same problem with crystal reports 2008.
    Thanks InAdvance

    We had to define all the printers to the Server. Once defined, the crystal reports would run and print.

  • 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

  • Crystal Reports 2008 - Report Load error - Memory Leak Error?

    Hello
    <br>
    We have a problem with Crystal Reports 2008 with .NET 2.0.
    <br>
    CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
    <br>
    The problem is that during high amount of report producing, errors in eventlog pops up and the production of reports using <br>
    Crystal Reports stops.
    <br>
    Below are examples of the three most common event logs.
    <br>
    We have tried to implement a cleanup method both as a destructor (with a global ReportDocument rdoc variable) and using direct call to cleanUpDoc() method when finished with loading doc:
    <br>
    ~IOServerClass()
    <br>
    <br>
                cleanupDoc();
    <br>
    <br>
    <br>
            private void cleanupDoc()
    <br>
    <br>
                try
    <br>
    <br>
                    if (rdoc != null)
    <br>
    <br>
                        rdoc.Close();
    <br>
                        rdoc.Dispose();
    <br>
                        rdoc = null;
    <br>
    <br>
                    this.CleanGlobalEvents();
    <br>
                    System.GC.Collect();
    <br>
    <br>
    <br>
    <br>
    The doc is loading using the "normal" method (in-process).
    <br>
    <br>
    try
    <br>
    <br>
                        rdoc = new ReportDocument();
    <br>
                        rdoc.Load(fullpathandreport); 
    <br>
    <br>
                   catch (Exception ex)
    <br>
    <br>
                    cleanupDoc();
    <br>
    <br>
    ...process doc....
    <br>
    cleanupDoc();
    <br>
    <br>
    Furthermore we have tried during Scalable tests of the system - but cannot produce the below errors ourselves. Only the customer can.
    <br>
    Please help with solving this problem.
    Is the above advisable to do?
    Should the document be loaded in another way?
    Is it a memory leak?
    <br>
    Regards
    Kristian
    <br>
    <br>
    event logs:
    <br>
    <br>
    #1
    <br>
    <br>
    Event Type:     Error
    Event Category:     None
    Event ID:     1102
    Date:          12-02-2010
    Time:          10:22:05
    User:          N/A
    Description:
    IO_ServerClass.IO_ServerPrepareReportBeforeExecute() Report load Error:
    Loading reportfile=C:\Inetpub\wwwroot\xxx\Reports\321.rpt
    Source=CrystalDecisions.CrystalReports.Engine
    Message=Load report failed.
    Stacktrace=   at
    CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename,
    OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
       at xxx.IOServer2.IOServerClass.IO_ServerPrepareReportBeforeExecute(String
    WebRootRelPathNameRepName, String init, Hashtable ParmsVals, Int32 JobId, Int32 JobStep,
    Page webpage) in C:\Documents and Settings\xxx\My Documents\Visual Studio 2008\Projects\xxx.IOServer2\IOServerClassClassic.cs:line 290
    InnerSource:Analysis Server
    InnerMes:
    Error in File 321 {19463E3B-D404-45EB-88AE-5722A7FF9E90}.rpt:
    The request could not be submitted for background processing.
    InnerStack:
       at
    CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object&
    DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object&
    DocumentPath, Int32 Options)
       at
    CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
    <br>
    <br>
    #2
    <br>
    <br>
    IO_ServerClass.IO_ServerPrepareReportBeforeExecute() Report load Error:
    Loading reportfile=C:\Inetpub\wwwroot\xxx\Reports\321.rpt
    Source=CrystalDecisions.CrystalReports.Engine
    Message=Creating an instance of the COM
    component with CLSID {D7F5D7C3-B06C-4CAC-BC47-A06E66D2EE9B} from the IClassFactory failed
    due to the following error: 8007000e.
    Stacktrace=   at
    CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.CreateRptDoc()
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper..ctor()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Initialize()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
       at Kimik.IOServer2.IOServerClass.IO_ServerPrepareReportBeforeExecute(String
    WebRootRelPathNameRepName, String init, Hashtable ParmsVals, Int32 JobId, Int32 JobStep, Page webpage) in C:\Documents and Settings\xxx\My Documents\Visual Studio 2008\Projects\xxx.IOServer2\IOServerClassClassic.cs:line 289
    <br>
    #3
    <br>
    <br>
    IO_ServerClass.IO_ServerPrepareReportBeforeExecute() Report load Error:
    Loading reportfile=C:\Inetpub\wwwroot\xxx\reports\340.rpt
    Source=CrystalDecisions.CrystalReports.Engine
    Message=Load report failed.
    Stacktrace=   at
    CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename,
    OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
       at Kimik.IOServer2.IOServerClass.IO_ServerPrepareReportBeforeExecute(String
    WebRootRelPathNameRepName, String init, Hashtable ParmsVals, Int32 JobId, Int32 JobStep,
    Page webpage) in C:\Documents and Settings\xxx\My Documents\Visual Studio 2008
    \Projects\xxx.IOServer2\IOServerClassClassic.cs:line 290
    InnerSource:CrystalDecisions.ReportAppServer.ClientDoc
    InnerMes:
    Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    InnerStack:
    at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object&
    DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object&
    DocumentPath, Int32 Options)
       at
    CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
    Edited by: kristians on Feb 16, 2010 2:57 PM

    Hi;
    First, ensure you have the latest service pack / hot fix for your version of Crystal Reports, and that the client has the same updates as well. Fix Pack 2.4 is the current latest, and can be downloaded from our downloads section.
    One of the errors is the Background Processing error, so have a look at the following article:
    http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/50a6f5e8-8164-2b10-7ca4-b5089df76b33&overridelayout=true
    Regards,
    Jonathan
    Follow us on Twitter u2013 http://twitter.com/SAPCRNetSup

  • Crystal Report 2008 export to text problem

    Hello,
    I am using Crystal Reports 2008 for generating reports in our WPF application. In this application, we are exporting the report to txt file on a button click. Now the application contains a form called u2018Print Manageru2019, through which the user can print the exported report(text files). Now the issue, when we try to the any of the exported report file through the application, the printer leaves alternate blank pages. The printer used in this case is DOT MATRIX EPSON LQ-1150II ESC/P2. We even tried printing the text file on HP Laser jet 4600, but the same issue is faced.
    Also, please note that when I try to read the exported txt file, a formfeed(u2018\fu2019 page break) character  can be seen  at the place where the printer leaves a blank page. Hence, my concern is, Is there any property of crystal report that I am missing on or is this a printer driver issue? But if it would have been a driver issue, then changing the printer might have solved the issue.
    I also  tried  doing u2018Keep Togetheru2019 property = false of all the sections of the report. Also, I found that the u2018New Page Afteru2019 property = true and disabled for the u2018Page Footeru2019 section. So I set u2018New Page Afteru2019 property = false programmatically as
    rdTest.ReportDefinition.Sections["Section5"].SectionFormat.EnableNewPageAfter = false;
    but no luck.
    If anyone has faced similar problem or have any clues, please help!
    Any kind of help in solving this issue will be highly appreciated.
    Thanks in anticipation!

    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

  • Problem with keydecoder.dll in Crystal Reports 2008 Trial Version

    Hello,
    My company is interested in purchasing Crystal Reports 2008 and has asked me to download and try the trial version.  However, I have been running into a keydecoder.dll problem.  Setup was smooth and here are the details:
    Problem message:
    "Crystal Reports: Application Error Couldn't load keydecoder.dll"
    I have Windows Vista and I have already configured all permissions and administrative rights to the problem to full control.  I have also attempted to drag the keydecoder.dll application extension out of win32_x86 to the file folder crystal reports 2008.  I have also already attempted to reinstall and making a new program file location named 'Crystal Reports 2008'. 
    I'm running out of ideas and would appreciate some help.  Thank you

    Hi Key,
    I have found a business objects Note 1198801.
    Please have a look to it.
    We can find Business objects Note/KBase from here
    [https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_ossnotes&query=&adv=true#]
    For your reference have a look to content of that Note:-
    1198801 - Error: "Crystal Reports: Application Error - Couldn't load the keydecoder.dll" when attempting to start Crystal Reports XI
    Symptom
    When attempting to start Crystal Reports XI, the following error message appears:
    "Crystal Reports: Application Error - Couldn't load the keydecoder.dll".
    Cause :
    The error message occurs because the CommonFiles entry has the wrong path in the registry.
    Resolution :
    CAUTION The following resolution involves editing the registry. Using the Registry Editor incorrectly can cause serious problems that may require you to reinstall the Microsoft Windows operating system. Use the Registry Editor at your own risk. It is strongly recommended that you make a backup copy of the registry files before you edit the registry. For information on how to edit the registry key, view the 'Changing Keys And Values' online Help topic in the Registry Editor (Regedit.exe).
    To resolve the error message
    Click Start > Run. The Run dialog box appears.
    Type "regedit" in the Open: text field. Click OK. The Registry Editor appears.
    Navigate to the following key: HKEY_LOCLAL_MACHINESOFTWAREBusiness ObjectsSuite 11.5Crystal Reports.
    Double-click the CommonFiles string. The Edit String dialog box appears.
    Ensure that the path points to the location of <installation directory>Common3.5 in.
    For example, the default location is the following: C:Program FilesBusiness ObjectsCommon3.5 in.
    Edit the path as necessary.
    Click OK. Close the Registry Editor.
    Crystal Reports starts successfully.
    Hope that helps!!
    Regards,
    Shweta

  • Crystal Reports 2008 sp2 PrinterDuplex problem

    All,
    I'm working on a .NET 3.5 application (upgrade from 2.0) with Crystal Reports in it.
    Since we just upgraded the code from 2.0 to 3.5, I thought it would be intresting to also upgrade from Crystal Reports 2005 to Crystal Reports 2008.
    This transition worked flawlessly, except for 1 thing which I can not wrap my head around: I am unable to change the PrinterDuplex in the report.PrinterSettings since the upgrade !!
    report.PrintOptions.PrinterDuplex = CrystalDecisions.Shared.PrinterDuplex.Horizontal; // does not work anymore
    Message: COMException: {"Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))"}
    Source: "CrystalDecisions.ReportAppServer.Controllers"
    Stacktrace: "   at CrystalDecisions.ReportAppServer.Controllers.PrintOutputControllerClass.ModifyPrintOptions
    (PrintOptions newVal)\r\n   at CrystalDecisions.CrystalReports.Engine.PrintOptions.set_PrinterDuplex
    (PrinterDuplex value)\r\n   at Gui.Reporting.ReportPrinter.PrintOnly (ReportInfo info, IList`1 paramValues, Int32 nCopies) in C:
    data\ \tcm_1.0
    Generation
    TCM
    src
    Gui
    Reporting
    ReportPrinter.cs:line 91"
    Anybody here who had the same problem or knows where I could find an answer or what I'm doing wrong ?
    cheers and thanks in advance,
    Andy

    Just did a quick test on it. Works for me fine. Using CR 2008 SP 2.
    If you do not have SP 2, it is available from here:
    https://smpdl.sap-ag.de/~sapidp/012002523100009038092009E/cr2008win_sp2.exe
    Ludek

  • Just installed Crystal Reports 2008...problem

    We just installed the crystal reports 2008 to use with EVO - problem - screen comes up and that's it!  Can not click on anything...what are we doing wrong????
    Thanks

    The first time (to answer your questions) no, yes & yes
    Uninstalled Crystal Reports and reinstalled - as per your instructions...
    still no go.

Maybe you are looking for

  • XML - PL/SQL help

    Hello, I am having a query as a part of my procedure block that extracts the following xml and stores it into a variable that is of xmltype: <FeatureRoot> <Feature> <FeatureName>qaz</FeatureName> <FeatureAction>Add</FeatureName> </Feature> <Feature>

  • Using idvd themes in toast

    Hi I had a problem with jumping discs in idvd and i had a copy of Toast 7 in my office so loaded it up on mac and burnt a copy of the dvd in question and it worked perfectly. I read somewhere that you can use the themed menus from idvd and use them i

  • Need suggestions for proofreading online help files

    I have created online help docs off an on for many years... and have contemplated this issue several times and never come up with a really good answer. Right now, the product manager is tryiing to proof one of the online help files that i've COMPLETE

  • Editing in iPhoto 06

    When I click on thumbnail images SOME do not convert to a larger image ready for editing. All I get is a broken outlined square where the image should be.I have noticed this is preceeded by a very brief flash of the image prior to the outlined square

  • Podcast authentication required, but I don't have podcasts

    I don't subscribe to any podcasts. I only use itunes to synch with my ipad. But ever since updating to 12.0.1.26, every time I open itunes, I get this password request: 'Podcast authentication required'. It says I must log on to www.mevio.com. I have