Crystal Reports 2008 parameter panel discrepancy.

Hi,
I have a report designed using Crystal Reports 2008. The report has a dynamic parameter called Location which is populated from a table. It is a Value - Description pair so it is:
Value = LocID
Descripition = LocationName.
The Show on Viewer(Panel) attribute is set to Editable.
The Prompt with Description Only attribute is set to true.
In the Crystal Reports stand-alone Designer everything works fine. It prompts with the Description. After making a selection, the Parameter Panel shows the selected items(the Description, NOT the value) correctly. This is the desired behavior.
But  when the report is viewed in the Crystal Reports Viewer that comes with .NET 2008 the Parameter panel shows the Value, which is LocID and not the description which is LocationName. This is NOT very useful.
I have tried other third party Crystal Reports viewers as well. They all exhbit the same discrepancy.
How can this be resolved?
Any help is greatly appreciated.
Thanks in advance.
- Rajan.

Hi Don,
Thank you for your response. The assemblies and their versions are as follows;
CrystalDecisions.CrystalReports.Engine - 12.0.2000.0
CrystalDecisions.Enterprise.Framework - 12.0.1100.0
CrystalDecisions.Shared                         - 12.0.2000.0
CrystalDecisions.Windows.Forms          - 12.0.2000.0
Thanks,
- Rajan.

Similar Messages

  • Crystal Reports 2008 parameter panel

    Hello,
    I'm using Crystal Reports 2008 stand-alone application to design reports. I'm wondering is there a possibility to change information display on parameter panel?
    The problem is that I've created a parameter with option "prompt with description only" set to true. This parameter has value and description. When it's prompting for parameter everything goes fine, it prompts with description only, but in parameter panel it's only values (not descriptions) displayed. This is confusing for report users as the value is key (int type) and description is name (string that actually says something to user).
    Maybe there is something to be set in Crystal Reports Viewer component properties?
    Thanks in advance.

    Hello Gemi,
    I recommend to post this query to the [Crystal Reports Design|SAP Crystal Reports; forum.
    This forum is dedicated to topics related to the creation and design of Crystal Report documents. This includes topics such as database connectivity, parameters and parameter prompting, report formulas, record selection formulas, charting, sorting, grouping, totaling, printing, and exporting but also installation and registering.
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all Crystal Reports Design queries remain in one place and thus can be easily searched in one place.
    Best regards,
    Falk

  • How to get Description of parameter filed in Crystal report 2008

    Hi expert,
    I am creating a crystal report from Query ,which is created in BEX    Query designer 7.
    In query designer i have some selection variable.
    The requirement from clint is that they want to see what value is selected for all  variable.
    when i tried to put all parameter field in crystal report it is showing only Technical name of value selected not  description and also it show only for variable which is single value variable  not for the range value variable and multiple selection variable.
    can any one help me How to get description of value in report and can it is possible to show Range value and multiple value for a particular variable .
    i am using Crystal report 2008 SP3 version.
    Thanks and regards
    devendra

    Moved to BEx forum

  • Crystal reports 2008 Set optional parameter value

    Hi,
    I'm working with .net Visual Studio 2008 C# and Crystal reports 2008 (Crystal.Decisions) and when I try to set a parameter to optional and set its value to no value, it returns the error: "Invalid parameter name", here is my code:
    foreach (CrystalDecisions.Shared.ParameterField param in Report.ParameterFields)
                            if (!param.HasCurrentValue &&
                                !Report.DataDefinition.ParameterFields[param.Name].IsLinked())
                                switch (param.ParameterValueType)
                                    case ParameterValueKind.NumberParameter:                                  
                                        param.IsOptionalPrompt = true;
                                        param.CurrentValues.IsNoValue = true;                                  
                                        break;
    I'm doing this because some of the parameters can be left null, and in this case I don't want to show the parameter prompt.
    In past versions of Crystal (such as Crystal Reports 11.5) we had the chance to left the parameter value null and did not showed the parameter prompt dialog, and this behavior repeats in a lot of reports.
    thanks in advanced

    Please don't post the same question more than once. This is a public forum so be patient.
    Install SP4 and test again.
    Try these samples:
    http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications
    Don

  • Crystal Reports 2008 SP3 Additional parameter values are needed

    I recently upgraded to Crystal Reports 2008 SP3, and now when I try an export a report from the Crystal Reports Designer, I get the error "Additional parameter values are needed before this report can be saved or viewed with data.  Click 'Ok' to enter the missing values or 'Cancel' to proceed without data".  I am trying to export the report to Crystal Reports format.  The report is getting data from a MS SQL 2005 stored proc. I tried building a new simple report (just took all the fields in the result set and put them in the details section) using the same stored proc, and get the same error when I try to export.  
    FYI, before I try to export I always preview the data in the report, so the parameters are defiantly set correctly.
    This was working correctly in Crystal Reports 2008 SP2.

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • Crystal Reports 2008 - passing a parameter in the Command Object

    Hi,
    I am using Crystal Reports 2008. I have 4 Command Objects where I have the following queries.
    select emrace, count(empl_id) cntFCiv  from emmain where emtype='CIV' and emsex ='F' and emdateterm is null group by emrace
    select emrace, count(empl_id) cntFSw  from emmain where emtype='SWOR' and emsex ='F' and emdateterm is null group by emrace
    select emrace, count(empl_id) cntMCiv from emmain where emtype='CIV' and emsex = 'M' and emdateterm is null  group by  emrace
    select emrace,count(empl_id) cntMSw from emmain where emtype='SWOR' and emsex = 'M' and emdateterm is null  group by emrace
    I want to pass a parameter  to all these command objects. I want the user to select a parameter from a list of values. So, I created a parameter object, Bureau. (I get the values for the parameter with this command object: select code_agcy, descriptn from systab1 where code_key = 'UNIT'). I want the user to be able to get the counts for each bureau.
    How do I pass the parameter that the user picked to those command objects. I tried doing this:
    select emrace, count(empl_id) cntFCiv  from emmain where emtype='CIV' and emsex ='F' and emdateterm is null
    and emunit = '{?Bureau}' group by emrace
    But it did not work. Any help will be greatly appreciated.
    Thanks.

    Hi,
    I am using Crystal Reports 2008. I have 4 Command Objects where I have the following queries.
    select emrace, count(empl_id) cntFCiv  from emmain where emtype='CIV' and emsex ='F' and emdateterm is null group by emrace
    select emrace, count(empl_id) cntFSw  from emmain where emtype='SWOR' and emsex ='F' and emdateterm is null group by emrace
    select emrace, count(empl_id) cntMCiv from emmain where emtype='CIV' and emsex = 'M' and emdateterm is null  group by  emrace
    select emrace,count(empl_id) cntMSw from emmain where emtype='SWOR' and emsex = 'M' and emdateterm is null  group by emrace
    I want to pass a parameter  to all these command objects. I want the user to select a parameter from a list of values. So, I created a parameter object, Bureau. (I get the values for the parameter with this command object: select code_agcy, descriptn from systab1 where code_key = 'UNIT'). I want the user to be able to get the counts for each bureau.
    How do I pass the parameter that the user picked to those command objects. I tried doing this:
    select emrace, count(empl_id) cntFCiv  from emmain where emtype='CIV' and emsex ='F' and emdateterm is null
    and emunit = '{?Bureau}' group by emrace
    But it did not work. Any help will be greatly appreciated.
    Thanks.

  • 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.

  • Error refreshing report from parameter panel

    I'm using Crystal Reports 2008 SP3 with .Net 4.0 in visual studio 2010
    I'm using the following components
    CrystalDecisions.CrystalReports.Engine   12.0.2000.0
    CrystalDecisions.Enterprise.Framework   12.0.1000.0
    CrystalDecisions.Enterprise.InfoStore       12.0.1000.0
    CrystalDecisions.Shared                           12.0.2000.0
    CrystalDecisions.Windows.Forms            12.0.2000.0
    I have embedded the ViewerComponent in a windows form, everything works fine, loading report, exporting, printing, refreshing.
    However, I need to allow the user to refresh the report by using the parameter panel, because once the report has been loaded, some parameters are not allowed to be changed by a user. So I try to accomplish this by using the parameter optional function and show in parameter panel (read only/ editable / Don't show)
    However, when I try to edit a parameter in the parameter panel, I get to see the regular refresh dialog (this isn't a big problem...) however, when I do not enter any values, or just a few parameters, or all parameters, the viewer crashes with the following error:
    Unable to cast object of type 'CrystalDecisions.Shared.ParameterField' to type 'CrystalDecisions.Windows.Forms.ParameterFieldInfo'.
       at CrystalDecisions.Windows.Forms.ParameterFieldsInfos.get_Item(Int32 index)
       at CrystalDecisions.Windows.Forms.InteractiveParameterPanel.ShowParameters()
       at CrystalDecisions.Windows.Forms.CrystalReportViewer._ipPanel_ApplyButtonClicked(Object sender, EventArgs e)
       at CrystalDecisions.Windows.Forms.InteractiveParameterPanel.HandleApply()
       at CrystalDecisions.Windows.Forms.InteractiveParameterPanel.toolBar_ButtonClick(Object sender, ToolBarButtonClickEventArgs e)
       at System.Windows.Forms.ToolBar.OnButtonClick(ToolBarButtonClickEventArgs e)
       at System.Windows.Forms.ToolBar.WmReflectCommand(Message& m)
       at System.Windows.Forms.ToolBar.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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
       at System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
       at System.Windows.Forms.Control.WmCommand(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.UserControl.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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
       at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
       at System.Windows.Forms.Control.DefWndProc(Message& m)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ToolBar.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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
       at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
       at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
       at System.Windows.Threading.Dispatcher.Run()
       at System.Windows.Application.RunDispatcher(Object ignore)
       at System.Windows.Application.RunInternal(Window window)
       at System.Windows.Application.Run(Window window)
       at System.Windows.Application.Run()
    Does anyone knows what goes wrong or what I'm doing wrong?
    Thanks in advance

    Thanks for your response.
    However, your not really right about that. I have integrated the viewer component into a WindowsFormHost, so it will just operate like a normal Windows Forms applcation.
    However, I'm wondering what is causing the Exception. It is trying to cast a ParameterField, can I override this?

  • Issue with use of shared variables in Crystal Reports 2008 Offline Viewer

    Hi,
    I have a report that contains a number of sub-reports which include drill-down functionality. The report returns data relating to an individual team with the user being able to view top level summary information in each area from the parent report and then drill into the sub-reports to view see more detail. The data returned by the sub-reports is filtered, using sub-report links, based on the team code parameter value given by the user. This parameter field resides in the main report.
    One of the values returned by the main report is the team name. This is passed to each sub-report using a shared variable and each sub-report displays this team name as part of a heading.
    This all works fine in Crystal Reports 2008, but when a report, containing data, is opened using Crystal 2008 Offline Viewer there is a problem with the shared variable. The value is displayed correctly when the user initially drills into the sub-report. However, when the user begins to drill into grouped data within the sub-report the value passed to the sub-report using the shared variable disappears. 
    How can I ensure that, when a report is viewed using Crystal Offline Viewer 2008, the value within the shared variable is not lost when users drill into grouped data within sub-reports
    Thanks
    Stuart

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • Dynamic Sorting on Multiple filed in Crystal report 2008

    Hi
      I am using Crystal report 2008 sp3 full build with hotfix 3.3 along with ASP.NET 2.0
      I have implimented the multi filed sorting using the record sort export and setting the sort order in the report designer.
    Now my requirement is such that i would like to have dynamic sorting on multiple fileds while report is displayed in the UI.
    Means suppose i have a report with Customer region,name,city,rating,status etc.
    Now by using the sort control  i would like to have the functionality in such a way that if user
    a)  first sorts on the region then the records should be first sorted by region
    b)  then sorts on the city then the records should be sorted first by region then by city
    c) now sorts on the  rating then the records should be sorted first by region ,second by city and then by rating
    Now other user may do
    a) first sorts on the rating then the records should be first sorted by rating
    b)  then sorts on the status then the records should be sorted first by rating then by status
    c) now user sorts on the  region then the records should be sorted first by rating,second by status and then by region
    and so on the sorting criteria changes from user to user through the UI.
    Is there any way to achieve the dynamic kind of sorting with Crytsal report 2008 where we can set the order of the fileds at sorting in UI dynamically .The sorting order of the fields are not known at the time of design of the report and its completely depends on the user's need.
    Please let me know if you require any information on the same.
    Regards,
    smitha

    Hello,
       Good Day!
       Thanks for your answer.
       Could you please explain me in detail how to achieve this functionality?
       Do i need to create a static parameter?
       I  get my data set through the command option in crystal report.So i think i need to go by formula in the report.
       i am just putting down the steps to follow.Please correct me if i am wrong.
      step1 :Create s static parameter with the name SORT.
    step2: create the formula as you have mentioned like     
        (IF {?Sort}='Vendor Number' THEN {Pr_Voucher_Status;1.Vendor_Key}& " "& {Pr_Voucher_Status;1.ap_remt_key}
        & " " & {@date}
       else
        IF {?Sort}='Invoice Number' THEN {Pr_Voucher_Status;1.ap_vchr_invno}& " " & {Pr_Voucher_Status;1.Vendor_Key}&
        " " &{@date}
       else
       IF {?Sort}='Invoice Amount' THEN {Pr_Voucher_Status;1.ap_vchr_amtc}& " " & {Pr_Voucher_Status;1.Vendor_Key}&
         " " &{@date})
        I could not  understand what this formula is really doing .
        Could you please tell me what the following names indicates? :
                  Pr_Voucher_Status :- Table/Command name ??
                  Vendor Number,Invoice Number etc.. :-  ??
                 Vendor_Key,ap_vchr_invno,ap_vchr_amtc .. :-  Filed names ??
                 use of 1.{} :- ??                              
    step3: place the below formula in the page header  to display the sort order
        (if {?SORT}='Vendor Number' then "Vendor Number, Remit To, Invoice Date"
              else if {?SORT}='Invoice Number' then "Invoice Number, Vendor Number, Invoice Date"
              else if {?SORT}='Invoice Amount' then "Invoice Amount, Vendor Number, Invoice Date") .
    Note:-My report does not have grouping.Do i need to have grouping?
    in this case how the sort control will work  ?
    As i have mentioned in the first post the order of sorting is completely depends on the user's perspective .
    The report is used by the whole organization ..
    i mean the people with different roles like Manger,Team leads,modul leads,developers ,testers etc..
    the usage of report varies according to the roles so the sort order also.
    Regards,
    smitha.
    Edited by: smitha thomas on Mar 16, 2011 5:01 AM

  • Crystal Report - Set Parameter Value - Case sensitive

    Hi,<br><br>
    We are using Crystal report 2008 CR4E API to implement the crystal report in our application. When we use parameter report with different cases, the code is not setting values for all the parameter fields in the report. Kindly help us in achieving the solution.
    <br><br>
    In Report, SQL Command is used and a parameter is passed to the SQL. The name of the parameter is given uppercase but in the SQL Command it is given in lowercase. The report still pass the parameter to the query and it is running fine in designer.
    But in our application it throws the below exception. If the parameters are defined in same case then it works fine.
    <br><br>
    Code:<br><br>
    reportClientDocument = new ReportClientDocument();<br>
    reportClientDocument.setReportAppServer(ReportClientDocument.inprocConnectionString);<br>
    reportClientDocument.open(reportName, OpenReportOptions._openAsReadOnly);<br>
    DatabaseController dbController = reportClientDocument.getDatabaseController();<br>
    Tables tables = dbController.getDatabase().getTables();<br>
    ITable table = tables.getTable(0);<br>
    IProcedure command = (IProcedure)table;<br>
    ParameterFieldController paramController = reportClientDocument.getDataDefController().getParameterFieldController();<br>
    for (int i=0; i< command.getParameters().size(); i++) {<br>
            ParameterField commandParam = (ParameterField) command.getParameters().get(i);     <br>                         
         String paramName = commandParam.getName();<br>
            String paramValue = getParmeterValues(paramName);<br>
            paramController.setCurrentValue("", paramName, Integer.valueOf(paramValue)); <br>
    }<br>
    <br><br>
    Exception:<br>
    <br>Assertion Failed:
    <br>java.lang.Throwable
    <br>     at com.crystaldecisions.reports.common.asserts.CrystalAssert.ASSERT(Unknown Source)
    <br>     at com.crystaldecisions.reports.common.asserts.CrystalAssert.ASSERT(Unknown Source)
    <br>     at com.crystaldecisions.reports.queryengine.Connection.a(SourceFile:2558)
    <br>     at com.crystaldecisions.reports.queryengine.Connection.a(SourceFile:645)
    <br>     at com.crystaldecisions.reports.queryengine.Table.a(SourceFile:2234)
    <br>     at com.crystaldecisions.reports.queryengine.Table.if(SourceFile:2161)
    <br>     at com.crystaldecisions.reports.queryengine.Table.for(SourceFile:709)
    <br>     at com.crystaldecisions.reports.queryengine.b.yk(SourceFile:512)
    <br>     at com.crystaldecisions.reports.queryengine.b.yl(SourceFile:878)
    <br>     at com.crystaldecisions.reports.queryengine.QueryInfo.vE(SourceFile:241)
    <br>     at com.crystaldecisions.reports.datafoundation.DFQuery.for(SourceFile:628)
    <br>     at com.crystaldecisions.reports.datalayer.a.do(SourceFile:1621)
    <br>     at com.crystaldecisions.reports.datalayer.a.a(SourceFile:1404)
    <br>     at com.crystaldecisions.reports.dataengine.m.b(SourceFile:334)
    <br>     at com.crystaldecisions.reports.dataengine.j.b(SourceFile:515)
    <br>     at com.crystaldecisions.reports.dataengine.m.o(SourceFile:408)
    <br>     at com.crystaldecisions.reports.dataengine.m.a(SourceFile:173)
    <br>     at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:114)
    <br>     at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:95)
    <br>     at com.crystaldecisions.reports.dataengine.j.case(SourceFile:1080)
    <br>     at com.crystaldecisions.reports.dataengine.h.<init>(SourceFile:108)
    <br>     at com.crystaldecisions.reports.dataengine.DataContext.a(SourceFile:254)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4660)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4574)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.new(SourceFile:2652)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.byte(SourceFile:2610)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.try(SourceFile:2282)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.int(SourceFile:2442)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.I(SourceFile:1013)
    <br>     at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.fo(SourceFile:526)
    <br>     at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.if(SourceFile:613)
    <br>     at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.a(SourceFile:578)
    <br>     at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.X(SourceFile:387)
    <br>     at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.moveToPageN(SourceFile:339)
    <br>     at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:78)
    <br>     at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:247)
    <br>     at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(SourceFile:642)
    <br>     at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(SourceFile:586)
    <br>     at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:636)
    <br>     at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(SourceFile:672)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1944)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
    <br>     at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)
    <br>     at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
    <br>     at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
    <br>     at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
    <br>     at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
    <br>     at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
    <br>     at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)
    <br>     at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)
    <br>     at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:337)
    <br>     at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(SourceFile:286)
    <br>     at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(SourceFile:209)
    <br>     at com.mysystems.myapp.common.CrystelReport.print(CrystelReport.java:387)
    <br>     at com.ibm._jsp._ShowReport._jspService(_ShowReport.java:316)
    <br>     at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
    <br>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    <br>     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
    <br>     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1087)
    <br>     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
    <br>     at com.mysystems.myapp.common.MyServletFilter.doFilter(MyServletFilter.java:107)
    <br>     at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
    <br>     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
    <br>     at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
    <br>     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:837)
    <br>     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:680)
    <br>     at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:588)
    <br>     at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
    <br>     at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
    <br>     at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:232)
    <br>     at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
    <br>     at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
    <br>     at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
    <br>     at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:122)
    <br>     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
    <br>     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
    <br>     at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
    <br>     at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
    <br>     at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
    <br>     at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
    <br>     at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
    <br>     at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
    <br>     at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
    <br>     at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
    <br>     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)
    <br>Rowset restart: moveToStart true
    <br>Rowset execute
    <br>Executing query using command text:
    <br>Select DeptName from Dept where DeptNo = {?deptno}
    <br>
    <br>detected an exception: Unexpected database connector error
    <br>...
    <br>Caused by: com.crystaldecisions.reports.common.QueryEngineException: Unexpected database connector error
    <br>     at com.crystaldecisions.reports.queryengine.Connection.bf(SourceFile:2958)
    <br>     at com.crystaldecisions.reports.queryengine.Rowset.z3(SourceFile:944)
    <br>     at com.crystaldecisions.reports.queryengine.Rowset.bL(SourceFile:533)
    <br>     at com.crystaldecisions.reports.queryengine.Rowset.zM(SourceFile:245)
    <br>     at com.crystaldecisions.reports.queryengine.Connection.a(SourceFile:776)
    <br>     at com.crystaldecisions.reports.queryengine.Table.a(SourceFile:2234)
    <br>     at com.crystaldecisions.reports.queryengine.Table.if(SourceFile:2161)
    <br>     at com.crystaldecisions.reports.queryengine.Table.for(SourceFile:709)
    <br>     at com.crystaldecisions.reports.queryengine.b.yk(SourceFile:512)
    <br>     at com.crystaldecisions.reports.queryengine.b.yl(SourceFile:878)
    <br>     at com.crystaldecisions.reports.queryengine.QueryInfo.vE(SourceFile:241)
    <br>     at com.crystaldecisions.reports.datafoundation.DFQuery.for(SourceFile:628)
    <br>     at com.crystaldecisions.reports.datalayer.a.do(SourceFile:1621)
    <br>     at com.crystaldecisions.reports.datalayer.a.a(SourceFile:1404)
    <br>     at com.crystaldecisions.reports.dataengine.m.b(SourceFile:334)
    <br>     at com.crystaldecisions.reports.dataengine.j.b(SourceFile:515)
    <br>     at com.crystaldecisions.reports.dataengine.m.o(SourceFile:408)
    <br>     at com.crystaldecisions.reports.dataengine.m.a(SourceFile:173)
    <br>     at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:114)
    <br>     at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:95)
    <br>     at com.crystaldecisions.reports.dataengine.j.case(SourceFile:1080)
    <br>     at com.crystaldecisions.reports.dataengine.h.<init>(SourceFile:108)
    <br>     at com.crystaldecisions.reports.dataengine.DataContext.a(SourceFile:254)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4660)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4574)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.new(SourceFile:2652)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.byte(SourceFile:2610)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.try(SourceFile:2282)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.int(SourceFile:2442)
    <br>     at com.crystaldecisions.reports.dataengine.DataProcessor2.I(SourceFile:1013)
    <br>     at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.fo(SourceFile:526)
    <br>     at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.if(SourceFile:613)
    <br>     at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.a(SourceFile:578)
    <br>     at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.X(SourceFile:387)
    <br>     at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.moveToPageN(SourceFile:339)
    <br>     at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:78)
    <br>     at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:247)
    <br>     at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(SourceFile:642)
    <br>     at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(SourceFile:586)
    <br>     at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:636)
    <br>     at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(SourceFile:672)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1944)
    <br>     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)
    <br>     ... 49 more
    <br>Caused by: com.businessobjects.reports.jdbinterface.common.DBException: Unexpected database connector error
    <br>     at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)
    <br>     at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)
    <br>     at com.crystaldecisions.reports.queryengine.Connection.bf(SourceFile:2953)
    <br>     ... 91 more
    <br>Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near '?'.
    <br>     at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
    <br>     at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source)
    <br>     at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(Unknown Source)
    <br>     at com.microsoft.sqlserver.jdbc.SQLServerStatement$StmtExecCmd.doExecute(Unknown Source)
    <br>     at com.microsoft.sqlserver.jdbc.TDSCommand.execute(Unknown Source)
    <br>     at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(Unknown Source)
    <br>     at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(Unknown Source)
    <br>     at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(Unknown Source)
    <br>     at com.microsoft.sqlserver.jdbc.SQLServerStatement.execute(Unknown Source)
    <br>     at com.mysystems.myapp.connection.StatementImplementaion.execute(StatementImplementaion.java:269)
    <br>     ... 94 more

    Hi,
    Can some one please help with the solution

  • SAP Crystal Report (2008) through SQL Query parameters

    Hi,
    I Created a report in Crystal report (2008) based on Sql Query. I created parameters in SQL query prompt only (all single valued).
    Based on this I need to show the data in detail section.
    For Graph, I used another SQL query, and added one subreport to the Main report header section. Since this subreport is also using the SQL query prompts for taking parameters.
    Since both the reports are using same set of parameters. I mapped Main report parameters to sub-report parameters.
    So Now structure is like,
    In a report there is one subreport.
    Main report ....SQL query generates parameter prompt..same parameters is passed to subreport.
    In subreport there are sql generated prompts. and we mapped that prompts to main report parameter prompts.
    Now it is running fine from crystal report, but not from CMC. It is not showing the graph.
    Made Two Experiment:
    1. To check subreport is running or not , Mannualy put my name in sub report--working fine.(CMC)
    2. To check the parameters are correctly mapped--printed the value in subreport--Showing all the parameters value from CMC
    but it is not running the SQL query of that sub report.
    Any suggestion ?? Or is there anyoption to check?? Or a CMC setting.
    Please suggest and respond..
    Thank you in advance.!!

    Hi Rajeev,
    This is Crystal reports development community, you said the report is working fine in Crystal. it is problem in CMC. So the issue is at BI Server.
    So i think you need to create the thread in the below community.
    BI Platform
    --Naga

  • Sub Report not working in Crystal Report 2008 using JSP

    I am having developer license of Crystal Report 2008. I am able to generate report using Java JDK 1.5 , JSP,Oracle10g , deployed on WebSphere Application Server 6.1.0.29. I am not able to generate Sub reports. Can you please help us with sample code to how to call and configure subreport and please send configuration CRConfig.xml.
    The below Error is Occurred on generating report.
    On condition when we link the main report to subreport through parameter.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.NullPointerException---- Error code:-2147467259 Error code name:failed
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:741)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
                    at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)
                    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)
                    at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
                    at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
                    at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
                    at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
                    at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
                    at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)
                    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)
                    at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(SourceFile:767)
                    at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(SourceFile:324)
                    at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.getPage(SourceFile:149)
                    at com.businessobjects.report.web.event.s.a(SourceFile:158)
                    at com.businessobjects.report.web.event.s.a(SourceFile:127)
                    at com.businessobjects.report.web.event.bt.a(SourceFile:47)
                    at com.businessobjects.report.web.event.bw.broadcast(SourceFile:93)
                    at com.businessobjects.report.web.event.am.a(SourceFile:53)
                    at com.businessobjects.report.web.a.t.if(SourceFile:2104)
                    at com.businessobjects.report.web.e.a(SourceFile:300)
                    at com.businessobjects.report.web.e.a(SourceFile:202)
                    at com.businessobjects.report.web.e.a(SourceFile:135)
                    at com.crystaldecisions.report.web.ServerControl.a(SourceFile:607)
                    at com.crystaldecisions.report.web.ServerControl.processHttpRequest(SourceFile:342)
                    at com.ibm._jsp._CrystalReportViewer._jspService(_CrystalReportViewer.java:107)
                    at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
                    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1143)
                    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:591)
                    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
                    at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
                    at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:226)
                    at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.handleRequest(AbstractJSPExtensionProcessor.java:286)
                    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3453)
                    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
                    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:815)
                    at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
                    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:119)
                    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
                    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
                    at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
                    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
                    at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
                    at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
                    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
                    at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
                    at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
                    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
                    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
    Caused by: java.lang.NullPointerException
                    at oracle.jdbc.driver.OracleResultSetMetaData.<init>(OracleResultSetMetaData.java:84)
                    at oracle.jdbc.driver.ScrollableResultSet.getMetaData(ScrollableResultSet.java:1282)
                    at com.crystaldecisions.reports.common.data.JdbcCrystalResultSet.getMetaData(Unknown Source)
                    at com.businessobjects.reports.jdbinterface.common.ResultSetReader.bindToField(Unknown Source)
                    at com.crystaldecisions.reports.queryengine.ResultSetRecordReader.a(SourceFile:80)
                    at com.crystaldecisions.reports.queryengine.Rowset.a(SourceFile:1107)
                    at com.crystaldecisions.reports.queryengine.Rowset.z9(SourceFile:1025)
                    at com.crystaldecisions.reports.queryengine.Rowset.Aa(SourceFile:988)
                    at com.crystaldecisions.reports.queryengine.Rowset.z3(SourceFile:967)
                    at com.crystaldecisions.reports.queryengine.Rowset.bL(SourceFile:533)
                    at com.crystaldecisions.reports.queryengine.Rowset.zM(SourceFile:245)
                    at com.crystaldecisions.reports.queryengine.RowsetBase.zA(SourceFile:156)
                    at com.crystaldecisions.reports.queryengine.QueryInfo.vE(SourceFile:261)
                    at com.crystaldecisions.reports.datafoundation.DFQuery.for(SourceFile:628)
                    at com.crystaldecisions.reports.datalayer.a.do(SourceFile:1621)
                    at com.crystaldecisions.reports.datalayer.a.a(SourceFile:1404)
                    at com.crystaldecisions.reports.dataengine.m.b(SourceFile:334)
                    at com.crystaldecisions.reports.dataengine.j.b(SourceFile:515)
                    at com.crystaldecisions.reports.dataengine.m.o(SourceFile:408)
                    at com.crystaldecisions.reports.dataengine.m.a(SourceFile:173)
                    at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:114)
                    at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:95)
                    at com.crystaldecisions.reports.dataengine.j.case(SourceFile:1080)
                    at com.crystaldecisions.reports.dataengine.h.<init>(SourceFile:108)
                    at com.crystaldecisions.reports.dataengine.DataContext.a(SourceFile:254)
                    at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4660)
                    at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4574)
                    at com.crystaldecisions.reports.dataengine.DataProcessor2.new(SourceFile:2652)
                    at com.crystaldecisions.reports.dataengine.DataProcessor2.byte(SourceFile:2610)
                    at com.crystaldecisions.reports.dataengine.DataProcessor2.try(SourceFile:2282)
                    at com.crystaldecisions.reports.dataengine.DataProcessor2.int(SourceFile:2442)
                    at com.crystaldecisions.reports.dataengine.DataProcessor2.I(SourceFile:1013)
                    at com.crystaldecisions.reports.dataengine.DataProcessor2.if(SourceFile:4816)
                    at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:2020)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:309)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:250)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.a(SourceFile:922)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.e(SourceFile:784)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.for(SourceFile:242)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:243)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:210)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:185)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:230)
                    at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359

    I'm not sure I understand what you mean by tabbed reporting.  Do you mean having multiple reports open at once within the Crystal Reports Designer?
    If this is the case, the viewer is designed to only have one report open at a time.

  • Customizing ActiveX Viewer for Crystal Reports 2008

    Here's the scenario.
       We have reports designed in Crystal Reports 2008, that are deployed on Business Objects 3.1 Infoview. All reports have Parameters for users to choose. All reports are expected to refresh on open.Some are dynamic some are standard static ones. There is an application developed in JAVA that is rendering these reports using the ActiveX viewer.
    The users are not comfortable with the way reports look in JAVA viewer. Hence the choices are either HTML viewer or ActiveX viewer.
    The application achieves this by making OpenDoc call to the report and using
    sViewer=actx
    as one of the parameters. Here's the issue that we run into. When users land on the parameter screen, the parameter screen alone Pops Up in a new window. Once all the parameter values are entered and the users clicks OK, the window vanishes and actual report is rendered in the original window.
    If we use HTML viewer by setting
    sViewer=html
    The report Parameter screen is rendered in the main window without popping up. However we do not wish to use HTML viewer because, some of the reports are linked to other reports with OpenDoc calls. i. e. Parent report calls child report with a OpenDoc call. In the HTML viewer, when you click on the link to child report, it opens in same window despite setting
    sWindow=new
    in that opendoc call. Thereby losing parent report and no way to navigate back to it. This problem does not happen in ActivX viewer.There it seems to obey the command to open in new window.
    Lastly you can recreate all this behavior by setting your viewer preferences in Info View settings. 
    So, here's my questions.
    1. Should I use the .Net viewer instead of ActiveX Viewer ? If so, where can I find Syntax for the same ?
    2. Can someone point me to documentation on the ActiveX Viewer ? Specifically making it not to Pop Up the Parameter Screen ?
    3. Should the Java application use a different method other than Open Doc to cal the reports ? If so where can I get the details ?
    Apologies for the long post. I tried to anticipate most of the questions that may arise in your mind. Thanks in advance for the time invested.

    Thank you Adam for the help.
    I already have the Open Document document you mentioned. Can't seem to search for the KB article in Marketplace. No results found.
    Just to clarify, I do not want to avoid the Parameter screen. Its the fact that it Pops Up in ActiveX viewer is the issue. The only thing I want in ActiveX viewer is to make that screen appear in main window just like HTML viewer.
    I understand that there is no difference as far as opendoc is concerned between .Net or JAVA. I am looking for the SDK behind the viewers themselves.
    To my third question, your answer is what I was looking for. But need a bit clarification.
    >
    Adam Stone wrote:
    > If you do not like the functionality that OpenDocument provides, you could use the SDK to view the reports, but you will likely run into the same issue as you are running into when using the html viewer.  The only workaround for that is to set a property on the viewer object in the SDK but it will affect all hyperlinks in the report not just a single one.
    By setting Property in SDK for the viewer Object, are you referring to Meta Tag encapsulation such as
    <a href= http://infoview.server.com/Infoview/opendoc/openDocument.jsp?iDocID=ABZR3Z&sIDType=CUID&&sType=wid&sRefresh=Y&sWindow=new>Report Title</a>
    May be I didn't get your point with setting property. I know there is documentation on Viewer SDK. I just can't seem to find it. I hope it would answer the questions.
    Edited by: SAMEER UPADHYE on Oct 6, 2010 5:46 PM

  • Crystal Reports 2008 and Dynamic Images

    Hello,
    I have a windows .net application that uses a listing of items in a grid.  The user selects an item then clicks the print button and that brings up a report viewer form and passes the photograph location in a parameter to the report document being loaded.
    The first time that this report is printed, the image for the selected item is printed correctly.  The next time the report is printed, the default image used to create the graphic object on the report is printed.
    In addition if a user double clicks on the listing of items, a detail form is displayed.  When the same report is printed from this screen, the default image used to create the graphic object on the report is printed.
    This is happening in multiple .net windows applications.
    Can anyone please give me an idea as to what may be causing this.
    I am using Crystal Reports 2008 with Service Pack 2 installed.
    Thanks

    The following is the code in the Report Viewer form that contains the Crystal Report Viewer Control.
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Imports CrystalDecisions.Windows.Forms
    Imports System.IO
    Public Class RptViewer
        Inherits System.Windows.Forms.Form
        Dim MyReport As CrystalDecisions.CrystalReports.Engine.ReportDocument
    #Region " Windows Form Designer generated code "
        Public Sub New()
            MyBase.New()
            'This call is required by the Windows Form Designer.
            InitializeComponent()
            'Add any initialization after the InitializeComponent() call
        End Sub
        'Form overrides dispose to clean up the component list.
        Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
            If disposing Then
                If Not (components Is Nothing) Then
                    components.Dispose()
                End If
            End If
            MyBase.Dispose(disposing)
        End Sub
        Friend WithEvents CrystalReportViewer1 As CrystalDecisions.Windows.Forms.CrystalReportViewer
        'Required by the Windows Form Designer
        Private components As System.ComponentModel.IContainer
        'NOTE: The following procedure is required by the Windows Form Designer
        'It can be modified using the Windows Form Designer. 
        'Do not modify it using the code editor.
        <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
            Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(RptViewer))
            Me.CrystalReportViewer1 = New CrystalDecisions.Windows.Forms.CrystalReportViewer
            Me.SuspendLayout()
            'CrystalReportViewer1
            Me.CrystalReportViewer1.ActiveViewIndex = -1
            Me.CrystalReportViewer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.CrystalReportViewer1.Dock = System.Windows.Forms.DockStyle.Fill
            Me.CrystalReportViewer1.Location = New System.Drawing.Point(0, 0)
            Me.CrystalReportViewer1.Name = "CrystalReportViewer1"
            Me.CrystalReportViewer1.Size = New System.Drawing.Size(656, 481)
            Me.CrystalReportViewer1.TabIndex = 0
            Me.CrystalReportViewer1.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None
            'RptViewer
            Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
            Me.ClientSize = New System.Drawing.Size(656, 481)
            Me.Controls.Add(Me.CrystalReportViewer1)
            Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
            Me.Name = "RptViewer"
            Me.Text = "Report Viewer"
            Me.WindowState = System.Windows.Forms.FormWindowState.Maximized
            Me.ResumeLayout(False)
        End Sub
    #End Region
        Private Sub RptViewer_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Try
                Dim myConnectionInfo As ConnectionInfo = New ConnectionInfo()
                myConnectionInfo.ServerName = MyServer (Name of SQL Server)
                myConnectionInfo.DatabaseName = MySqlDb (Name of Database)
                myConnectionInfo.UserID = MyUid (Userid for SQL Database)
                myConnectionInfo.Password = MyPwd (Password for SQL Database)
                MyReport = New CrystalDecisions.CrystalReports.Engine.ReportDocument
                MyReport.Load(Path.GetFullPath(".") & "\" & MyReportFile)
                MyReport.SummaryInfo.ReportTitle = MyReportTitle  (Title passed to the report)
                MyReport.SummaryInfo.ReportComments = MyReportComments   (Comments passed to the report)
                SetDBLogonForReport(myConnectionInfo, MyReport)
              MyReport.SetParameterValue("MySequence", MyReportKey)  (Parameter passed to select single record in table)
               MyReport.SetParameterValue("MyPhotoLocation", sPhotoLocation)  (Physical Location of Photograph \\Server\Photos\)
                CrystalReportViewer1.ReportSource = MyReport
                'handle any exceptions
            Catch ex As Exception
                MessageBox.Show(ex.Message, "Report could not be created", MessageBoxButtons.OK)
            End Try
        End Sub
        Private Sub SetDBLogonForReport(ByVal myConnectionInfo As ConnectionInfo, ByVal myReportDocument As ReportDocument)
            Dim myTables As Tables = myReportDocument.Database.Tables
            Dim myTable As CrystalDecisions.CrystalReports.Engine.Table
            For Each myTable In myTables
                Dim myTableLogonInfo As TableLogOnInfo = myTable.LogOnInfo
                myTableLogonInfo.ConnectionInfo = myConnectionInfo
                myTable.ApplyLogOnInfo(myTableLogonInfo)
            Next
        End Sub
    End Class
    In the Crystal Report the Graphic Location formula field takes the {?MyPhotoLocation} + {Table.Photo} field to display the picture.  I have placed the parameter and the photo field on the report and the correct data is in the fields.
    This is the exact same form being opened and that displays correctly from the listing screen.
    Joel
    Edited by: JYaeger on Aug 8, 2009 2:56 AM

Maybe you are looking for

  • Error in AET in SAP CRM 7.0 EHP1

    Hi All , I have created new table using AET in SAP CRM ehp1 and it  has created new z-component and z-table succusfully. When I opened the component and view and i noticed it has been created two context nodes. One is Parent and another is z-context

  • Problem with PRAGMA NO-CACHE

    Hi,           I am having the following problem. Any help is greatly appreciated.           I have a servlet which in its doPost method says..           response.setHeader ("Pragma", "no-cache");           The browser gets this page. Then the user go

  • Problems with Flash Player on a Mac

        I recently installed the latest version of Flash Player on my Mac.  Now, it's broken.  Every site I go that uses Flash Player either displays a message "Missing plug-in" or "Typeerror: #1009"  (I think that last is correct - the message disappear

  • Is there a stopwatch In CS4?

    I'm talking about the stopwatch between the graph editor & brain storm that makes it easier to animate & edit. When I log into cs4 it's not there, but it was there when I used cs6. Is it not available in cs4, or is it hidden somewhere in the options?

  • CONTAINS search error while using Numeric

    HI, Please help to me, CONTAINS search is not performing while numeric character In an members table ID       EmailId 1 [email protected] 2 [email protected] 3 [email protected] SQL 1> SELECT * FROM MEMBERS WHERE CONTAINS(MEMR_EMAIL, 'Loadtest{_}{%}'