Crystal Report - Parameter issue (advanced dialog box)

In our wpf .net application we view the crystal report, the report prompts for entering 2 parameter values i.e 2 dates and inturn these parameters will be used to generate the crystal report.
The parameter panel on the left has a button (show advanced dialog box). This button should again invoke the same parameter prompt dialog box, so that the user can modify these parameters and the report can be regenerated.
Issue is that when I click on the the button, this generates a null reference exception in the code. The call stack is -
at CrystalDecisions.Windows.Forms.ParameterFieldInfo.get_isDCP()
   at CrystalDecisions.Windows.Forms.InteractiveParameterPanel.ShowAdvancedDialog(ParameterUnit pu)
   at CrystalDecisions.Windows.Forms.InteractiveParameterPanel.pu_ShowAdvancedDialog(Object sender, EventArgs e)
   at CrystalDecisions.Windows.Forms.ParameterUnit.OnShowAvancedDialog(EventArgs e)
   at CrystalDecisions.Windows.Forms.ParameterUnit.editControl_ShowAdvancedDialog(Object sender, EventArgs e)
   at CrystalDecisions.Windows.Forms.ParameterValueEditControl.OnShowAdvancedDialog(EventArgs e)
   at CrystalDecisions.Windows.Forms.ParameterValueEditControl.btnShowAdvancedDialog_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Please note, I used the .net reflector to debug the crystal report dll , the isDCP method looks like -
public bool isDCP
      get
        return (this.Attributes.Contains("IsDCP") && ((bool) this.Attributes["IsDCP"]));
Looks like the attributes value is null.
Please let me know your comments. Am I missing something while getting the report in the frontend.
I use crystal reports 2008 sp 2 (also note that my gac contains different version of crystal reports (cannot remove them - tried it) , with windows server 2003. I use web service with proxy to get the report from the local server.
Note I also tried to create sample application in which I specify the local path to reports source , this works. However when I tried to use webservice, i was getting soap exception.
Please let me know how solve above issue

So you found the Report Design forum, if you looked down one more you would have found the SDK forum, SDK stands for Software Development Kit if you did not know.
Or did you not mention you get the same error when you run this report in CR Designer, if so then you were in the right forum.
Try Service Pack 3 also
Move to the SDK forums.

Similar Messages

  • Crystal report parameter issue in SAP B1 8.8

    Hi Experts,
    We are facing following issue in Crystal report SAP B1 8.8 version
    Can not open crystal report without mentioning optional parameters.
    User is forced to mention all parameters
    User should allow to open crystal report by mentioning mandetory parameters
    if We set for the parameter value of field [Optional Prompt] to 'True' and then preview in SAP Business One, then although the dialogue is displayed,  click 'OK' without populating the parameter value, the report is run
    but in our case we are passing parameters through Stored Procedure and this option is block in report to do so.
    means that option available to make optional true / false is block and we are not able to do anything.
    Pls. provide solution
    Regards
    Kamlesh Vagal

    Julie.
    This change has already occurred?
    Thanks.

  • Crystal Reports 2011 Map Expert dialog box option

    Hi
    When I select the Graduated option, then click the Customize button on this dialog box (on the Type tab) to select a different symbol for the map, I get the following error message -
    "Unable to find or load Helper dialog DLL.
    Is there a fix for this error message.
    If it helps, I have version 14.0.0.760 installed.
    Thank you
    Tracy
    Edited by: training 2go on Dec 29, 2011 4:55 PM

    hi don,
    thank you for looking into this for me and for taking this to the next level.
    at least you get the same error that i do.
    i don't ever recall using the map feature in a previous version, so i don't know if it worked in any other version.
    maybe someone in this forum has and will let me know.
    in case you are bored, the link below is for my other map related problem.
    Crystal Reports 2011 - Layers option on Map menu
    let me know what you think
    have a great weekend!
    tracy
    Edited by: training 2go on Jan 26, 2012 5:44 PM

  • Advanced Dialog Box

    Advanced  Dialog Box
    Can anyone help ?  Does Adobe have a fix for the Advanced Dialog Box problem ?
    This problem is ridiculous.
    dotsun7

    It IS more than ridiculous but HUGELY frustrating.
    Barbara's suggestion will work for some but not for a lot of PSE 9 users and you may be one too?
    Go to this link to a discussion on this issue that started back in SEPTEMBER 2010 to see what your problem may be and also to see what the current situation is regarding a fix from Adobe for what is a lot of PSE 9 users.
    http://forums.adobe.com/thread/727892?tstart=0

  • Why don't I have an Advanced Dialog box in my Elements Organizer - Photo Downloader? I am using PSE9

    Why don't I have an Advanced Dialog box in my Elements Organizer - Photo Downloader? I am using Photoshop Elements 9.

    ok, thanks a lot for your answer.
    2012/5/17 Barbara B. <[email protected]>
       Re: Why don't I have an Advanced Dialog box in my Elements Organizer -
    Photo Downloader? I am using PSE9  created by Barbara B.<http://forums.adobe.com/people/Barbara+B.>in
    Photoshop Elements - View the full discussion<http://forums.adobe.com/message/4417133#4417133

  • Missing advanced dialog box in photoshop elements 9

    I am hoping someone out there can help. I have a missing advanced dialog box on my photoshop downloader page. I have photoshop elements 9. I saw that changing the screen resolution can sometime help this, however it does not in my case, I've tried all available. I have a new Dell Inspiron laptop and resolution is set at 1366 X 768. My computer was preloaded with photoshop elements 8. I can see the advanced dialog box in version 8. However, it is not in version 9. Does anyone have a suggestion? Thanks for your help.

    Check your screen resolution settings for vista.
    I believe the screen resolution needs to be at least 1024 x 768 for the camera raw dialog to show in pse 8.
    For example, if instead of running VirtualBox full screen, your running it in windowed or seamless mode and made the window smaller by dragging on the corner, that would automatically lessen the screen resolution in vista.

  • Crystal report Parameter binding issue with Liveoffice

    Hello,
    I have created a Crystal report on top of BW query. In crystal report when parameter is set to null the report gets all data from BW query.
    On inserting the same Crystal report to Live office document on binding the parameter i get the data for selected value for parameter but i am not able to set the parameter to null to get all the data from BW queries.
    Please help!
    Regards,
    Rahul Doshi

    Hi,
    I was able to solve the issue with the below code. I have added a parameter value as <Not Specifed> in paramter.
    if {?parameter1}='<Not Specified>' Then like '*' else
    ={?Parameter1} and
    if {?Parameter2}='<Not Specified>' Then like '*' else
    ={?Parameter2} and
    if {?Parameter3}='<Not Specified>' Then like '*' else
    ={?Parameter3} and
    if {?Parameter4}='<Not Specified>' Then like '*' else
    ={?Parameter4}
    This code works perfectly fine in crystal report. But when i bind the parameter with excel in Live office it gives me below error.
    Parameter has no value.
    Details: errorKind
    Error in File {7D9B961E-ADB9-4292-9DDE-A8D11B94D78E}.rpt:
    Error in formula  Record Selection:
    'if {?Sales Office}='<Not Specified>' Then {0SD_C03_ZQRY_0SD_C03_0011_BOBJ.D[0SALES_OFF]K} like '*' else
    Parameter has no value.
    Details: errorKind (LO 26603)  (6603)
    Please help.
    Regards,
    Rahul Doshi

  • Crystal Reports logon issue across firewall - Transport error:communication

    Hi,
    We are facing an error when we try to logon to the BO server using the crystal reports tool (Crystal Reports Enterprise XI Release 2 ) outside the firewall. The login is working fine when inside the firewall. The BO server is on a unix box within the customer network and we are trying to login from a PC (using Crystal Reports Enterprise XI Release 2) which is outside that network. The following are the errors we get when trying to logon using authentication as "Enterprise" and system name as "fully qualified server name:6400"
    1. Without including any IP addresses in the PC host file we get "Transport error:communication failure" on login.
    2. When I included the IP and name of the BO server in the PC host file (xx.xx.xx.xx host name) we get an error - "CMS host 'xxxx' address was resolved properly,but cannot be reached to establish a CMS connection.Verify your router/firewall allows communication on port 6400."
    (The IP address I include in the PC host file is the actual IP address of the BO server)
    3. I know we have natted IP addresses.. and the IP address of the BO server appears to be different when I do a ping to the BO server from outside the customer network i.e from the external PC. When I include the IP address in the host file (which I get from the ping <servername> outside the customer network from my PC) I get "Transport error:communication failure".
    The port 6400 has been opened in the firewall. We are able to login to the CMC link and the Info view without any issues.
    It will be great to get some advise on this as it has become a high priority issue in our workspace now.
    Thanks,
    Reeti

    Hi All,
    I had a breakthrough in logging to BOX1R2 Crystal Reports client outside the firewall. The following was done in our case:
    1. Open the port 6400 on the server to allow traffic from outside the firewall.
    2. Add the following command at the end in the cmsLAUNCH command line in ccm.config (ours is a BO server on Sun OS)
    -port FQDN:6400 -requestport XXXX
    The -port parameter was explicitly specified to make CMS explicitly listen on port 6400.
    The -requestport parameter was added to configure the server to register a fixed port (which has external access) with the CMS rather than letting it choose a dynamically selected one...so XXXX can be any port which is not allocated to any app and is also open in the firewall)
    Thanks,
    Reeti

  • Printing ALV report by suppressing print dialog box

    Hi,
      I want to print a alv report by passing value in IS_PRINT export parameter which is working prefectly. But I want to suppress the dialog box which is appearing while printing and printing should go to spool directly is it possible.

    Hi,
    You could try something like:
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          no_dialog      = 'X'
        IMPORTING
          out_parameters = ls_params
          valid          = lv_valid
        EXCEPTIONS
          OTHERS         = 1.
      NEW-PAGE PRINT ON PARAMETERS ls_params NO DIALOG.
    * Display Table
      lr_table->display( ).
    hope it helps,
    Kr,
    m.

  • Crystal report parameter asking for DB login

    Hi All,
    I have created a crystal report in 2008, in my crystal reprot i have a command which gives me 2 columns and a stored proced which give me 6 columns and then i joined them in link tab.
    Now in my report i have created a parameter using one the column from command. The data source for both are same database but diffrent tables.
    When i exported the report to enterprise and try to schedle it, for parameter option when i try to edit the parameter it promps me for database logon every time (i.e. every time i edit parameter it promps for Db logon) and i have already provide DB creds in database information page.
    BOXI R3.1 with no FP.
    please suggest on this.
    Thanks,
    Nimesh.

    In CMC, what option did you select on the Database Configuration section of the report properties?
    If it is " Prompt users for database credentials", then it'll prompt users for credentials whenever the report is run.
    If it is set to " use same credentials as above" (not exact wording), then it don't ask for credentials.

  • Crystal Report Parameter not showing in IPAD

    Hi All, 
    I create simple Purchase register report  by using Crystal report with date parameter
    My problem is that report not working on Ipad and its showing blank space .  
    The report working fine on ipad when i run report without parameter.
    Kindly tell me solution.

    Hi Rajesh,
    I am new to this Mobility..What is integration service upgrade..
    Currently we are using
    SMP Legacy connection typ1.
    BO version is 4.1 SP02.
    App is 6.0.6
    Please advise on this issue...and the steps which you have used..

  • B1 8.8 crystal report publishing issue

    upgraded to 8.8 last night from b1 2007
    have crystal reports that were working with the old CR reports addon for B1 version 2007.
    I imported the same crystal reports into 8.8 using the report and layout manager.
    When I go to run the report, the input parameters that are displayed are incorrect.
    There report has 4 parameters in the report designer, 8.8 displays 11 input parameters. 4 of them have not title.
    these reports are complex- mutliple sub reports populated by stored procedures, with all the parameter linked together, through crystal linking wizard.
    let me reiterate: these reports worked fine in the old CR reports addon for b1 version 2007.
    I even looked through the online training- I couldn't find a section pertaining to linking a crystal report into B1.

    There is a large document relating to writing Crystal reports for 8.8. Check the documentation section under the 8.8 landing page.
    Not all reports are easily imported between versions. There is a different method of creating parameters called SAP tokens, not always required. The use of views and commands does not easily translate between versions.
    I have come across an issue with using optional parameters but it only seems to apply to some reports & not others, but it is with SAP Development.

  • Crystal report parameter usage

    Hi all,
    I am facing a issue in designing crystal report. I want to display records in report as per user entered value of date parameter but  in database if data is not present for given input date value then the report should run for value which is one older than given input date value which is present in database (In short, report run for near by older value than input date value if record is not present for entered input value)  .
    How to do it in crystal report.
    Please help.
    Any comment is valuable.
    Thanks

    You can try this - In your sql query select data for both the dates - input date and next higher date (something like where sale_date = {input date} or saledate ={input date}+1)
    In Crystal do a record select filter to display the data for input date
    For eg:
    if sale_date ={input date} then
        if count(sale_id) is not null then 'sale amount'
    else ' '.
    Basically use the idea not sure about how to put it in syntax without looking at other report elements....Hope it helps

  • Crystal reports prompt issue

    Hi  All,
    I had created the simple crystal report by connecting to  bex query (with prompts).
    For example in my  crystal  report ,circle prompt  as below list of values
    Values                                  Description
    [YPES_AREA].[ANPR]     Andhra Pradesh Circle
    [YPES_AREA].[ASSM]     Assam
    [YPES_AREA].[BIAR]     Bihar
    [YPES_AREA].[CHAI]     Chennai
    [YPES_AREA].[CHRH]     Chattisgarh
    [YPES_AREA].[CORP]     Corporate
    [YPES_AREA].[DLHI]     Delhi & NCRs Circle
    [YPES_AREA].[EAST]     East Region
    At the time of preview,user can select the above list of  value ,so that the corresponding  prompt value need to display in the report.
    Here i want to known,when user select the "Assam" circle in the above list of values,prompt value is showing as "[YPES_AREA].[ASSM]" but i want to show it as a description instead of technical name.
    please suggest me is it possible or not?
    Regards,
    Vinay

    Unfortunately the "description" is only available in the LoV and cannot be accessed for use on the report (I believe there is an Idea Place suggestion concerning this very issue...) but there are work arounds.
    If the LoV is a static list it's fairly easy. Just use the following formula:
    IF {?ParameterName} = "YPES_AREA.ANPR" THEN "Andhra Pradesh Circle" ELSE
    IF {?ParameterName} = "YPES_AREA.ASSM"THEN "Assam" ELSE
    IF {?ParameterName} = "YPES_AREA.BIAR" THEN "Bihar" ELSE
    IF {?ParameterName} = "YPES_AREA.CHAI" THEN "Chennai" ELSE
    IF {?ParameterName} = "YPES_AREA.CHRH" THEN "Chattisgarh" ELSE
    IF {?ParameterName} = "YPES_AREA.CORP" THEN "Corporate" ELSE
    IF {?ParameterName} = "YPES_AREA.DLHI" THEN "Delhi & NCRs Circle" ELSE
    IF {?ParameterName} = "YPES_AREA.EAST" THEN "East Region"
    If your LoVs are dynamic it's a little trickier... and I've never tried it using a data warehouse...
    but I've always done it using a separate SQL Command. Something along these lines
    SELECT
    FieldUsedInTheDescription
    FROM TableName
    WHERE FieldUsedAsTheValue  = {?Parameter}
    Still pretty simple as long as the parameter only accepts a single value.
    If the parameter accepts multiple values you need to use a sub-report.
    HTH,
    Jason

  • Crystal Reports localization issue

    Hi,
    I am using Crystal Reports for .NET version 2005. Also, I am utilizing SQL Server 2005 as my database server. The problem is when I deploy applications in Spanish countries (maybe others, but did not try yet). The problem happens when dates are passed to SQL Server 2005, but only through Crystal Report engine.
    I guess the question is if there is special need to localize crystal report setup?
    Thanks in advance
    Amer Gerzic
    Infinity Software Solutions

    David,
    Thanks a lot for reply!
    Here is the code that I use:
                        MachineProductionReport report = new MachineProductionReport();
                        SetReportLogOnInfo(report);
                        ParameterDiscreteValue discreteValue1 = new ParameterDiscreteValue();
                        discreteValue1.Value = dlg.MachineID; <- this has type String
                        report.ParameterFields["@machine_id"].CurrentValues.Add(discreteValue1);
                        report.DataDefinition.ParameterFields["@machine_id"].ApplyCurrentValues(report.ParameterFields["@machine_id"].CurrentValues);
                        ParameterDiscreteValue discreteValue2 = new ParameterDiscreteValue();
                        discreteValue2.Value = dlg.StartDate; <- this has type DateTime
                        report.ParameterFields["@start_date"].CurrentValues.Add(discreteValue2);
                        report.DataDefinition.ParameterFields["@start_date"].ApplyCurrentValues(report.ParameterFields["@start_date"].CurrentValues);
                        ParameterDiscreteValue discreteValue3 = new ParameterDiscreteValue();
                        discreteValue3.Value = dlg.EndDate; // <- this has type DateTime
                        report.ParameterFields["@end_date"].CurrentValues.Add(discreteValue3);
                        report.DataDefinition.ParameterFields["@end_date"].ApplyCurrentValues(report.ParameterFields["@end_date"].CurrentValues);
                        MainReportViewer.ReportSource = report;
    The issue is that it works fine in US, but not in Chile ... Everything else works though (passing string, int, etc.)
    Thanks in advance!
    Amer

Maybe you are looking for

  • Lightroom 5.4 backup hangs upon finish, relaunches new dialog box

    Is this a bug? I have a recurring Lightroom 5.4 issue on quitting. I have it set up to backup catalog every week upon exit. When the time comes each week, the backup proceeds, but doesn't end -- it just hangs while a new, second dialog box asking to

  • Emptying trash - Says "in Use"

    I'm trying to get rid of Old BlackBerry App and Palm App. The BB sync Icon is at the top of screen and I don't have BB anymore. I put both the applications in the trash but when I try and empty it says they are in use. How can I get rid of? Thanks!

  • BPC Script Logic - XDIM_FILTER results in error

    I am writing a Script Logic in BPC and I need it to include all records where the DESTINATION dimension member has the Dimension Property of PLANDEST = "Y" This approach works: *SELECT(%DestinationMbrs%,"[ID]","Destination","[PlanDest] = 'Y'") *XDIM_

  • Use of SE16N discontinued in SCM EWM Ver 7.01

    Hi there We have implemented EWM ver 7.01 and I now find that TxCde SE16N is no longer available but SE16 is still there. Is there a way to re-activate this or is it gone for ever? Regards Carl.

  • JTabbedPane Error

    I have the following error generated java.lang.NullPointerException      at ButtonPanel.<init>(Toolbars.java:30)      at IRCWindow.<init>(IRCWindow.java:29)      at IRCApplet.panelFinished(IRCApplet.java:161)      at InitScreen.actionPerformed(IRCApp