CR 2008 - Optional parameter prompts

Hi!
I sometimes use Optional parameter prompts in Crystal Reports 2008.
The main reason is to minimise user input in Selection Criteria Screen.
I have many subreports, and not all prompts are needed for all subreports.
If the user leaves the prompt blank, then a formula will set a default value for the user.
I usually put the optional prompt at the top, so that user needs only fill prompts at the bottom.
Here is an example:
I have a parameter field called "PreferredSortOrder"
The Edit screen reads as follows:
Type: String
List of Values: Static
Value:
    Original Order
    Description
Value Options:
Show on (Viewer) Panel           : Read Only
Prompt Text                              : Preferred Sort Order [Optional]
Prompt With Description Only  : True
Optional Prompt                        : True
Default Value                             :
Allow custom values                 : False
Allow multiple values                 : False
Allow discrete values                 : True
Allow range values                     : False
Min Length                                  :
Max Length                                  :
Edit Mask                                   :
Show value or Description        : Show Value
My report works perfectly, even if I leave the parameter field blank
I now add another parameter field called "WhichWarehouse"
with exactly the same values as above.
When I run the Crystal Report, I get this message;
Error running Crystal Reports
The report runs only if I type a value in the "WhichWarehouse" prompt
(The "PreferredSortOrder" prompt remains blank)
I did exactly the same as before. Why does the 2nd optional parameter not work like the first?
What has gone wrong?
Thank you
Leon Lai
JUST ADDED
I just noticed that in the Field Explorer,
(a) There is a green TICK near the parameter PreferredSortOrder
(b) But no green Tick neat the parameter "WhichWarehouse"
What does the green tick mean?
Could this be the key to the mystery?

Hi Leon,
No green tick means that the prompt has Not been used in the report.
If the report has Subreports, and if the subreport also has a 'warehouse' prompt then it could be this prompt that is causing the issue. You should link both the warehouse prompts to make sure you're only prompted once.
-Abhilash

Similar Messages

  • SSRS 2008 optional parameter ? Value still required if I check allow null

    I know there are other posts about this and Ive read them, but I still dont see how to allow the user to skip making a selection for that particular parameter.  I have two parameters on a report.  One of them Id like the user to be able to simply
    not choose anything if they want to, and have that default to NULL.  Im handling that in the query for the dataset.
    Ive seen the suggestions to include some "ALL" selection in the list by way of a union
    Does a user HAVE to make a selection of a dropdown list?

    If you have specified a Default Value for parameter then user need not select any value. User can directly click on View Report.
    - Vishal
    SqlAndMe.com

  • 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

  • Sub report parameter prompt appears when running Visual Studio 2008 with Crystal Reports 2008

    Post Author: relliott
    CA Forum: .NET
    If I build a simple Crystal Report that contains another simple Crystal Sub Report, the report will print preview fine in Crystal 2008.  The problem happens when add this report to a Visual Studio 2008 Web Application Project and I build and debug the application, the Crystal Viewer is prompting the user for the parameter used to link the sub report to the main report.  This should never happen as the user is not supposed to see this parameter.  If I type in some value for this sub-report parameter prompt, the Crystal Report Viewer gives an error message about not finding the field.
    I was having the same problem in Vs2005 with Crystal 10 which is why I upgraded.  Business Object's official fix for this problem was published under their KB article number c2018840 and c2019047.  These hot fixes ended up causing general exception errors in Visual Studio so I scrapped these solutions.
    Support had me install SP0 for Crystal 2008 (which did not fix it).
    Any ideas?
    Any help is greatly appreciated.
    Thanks,
    Rich Elliott

    Hi Bontrager,
    Thank you for posting in MSDN forum.
    According to your description, I agree with pvdg42's suggestion, so I suggest you can try pvdg42's suggestion to install the version of
    Crystal Reports 10.5 to check this issue again.
    Reference:
    http://forums.asp.net/t/1236730.aspx?Which+CR+version+is+in+Visual+Studio+2008+
    In addition, since this forum is
    to discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor. So if you have any issue about the
    Crystal Reports, I suggest you can ask the issue to the
    SAP Crystal Reports website:
    http://scn.sap.com/community/crystal-reports/content?filterID=contentstatus%5bpublished%5d~objecttype~objecttype%255bthread
    as pvdg42 pervious suggestion, it will be better support.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Missing Parameter Values CR2008 Optional Parameter

    Hi,
    I am getting "Missing Parameter Values" error
    "CrystalDecisions.CrystalReports.Engine.ParameterFieldCurrentValueException: Fehlende Parameterwerte. ---> System.Runtime.InteropServices.COMException (0x8004100E)"
    if I try to export a Report with an optional Parameter without setting the parametervalue.
    The Report works fine with ReportViewer.
    If I uncomment the "Parameterpart" and set a parametervalue it works fine, but it should works without a parametervalue too, its optional.
    I have tried many for a long time and read many Websites but it does not work !
    I use WinXP SP2 CR2008 with C# .NET 2.0 VS2005
    CrystalDecisions.CrystalReports.Engine.dll version 12.0.2000.683 Date: 2008-03-01
    CrystalDecisions.Shared.dll version 12.0.2000.683 Date: 2008-03-01
    Sorry my English is very Bad !
    Thanks a lot!
    ExportFormatType ExportType = ExportFormatType.PortableDocFormat;
                ReportDocument RD = new ReportDocument();
                RD.Load("C:\\ParaTest01.rpt");
                string strServer = "<ServerName>";
                string strDB = "<DBName>";
                string strUser = "<UserID>";
                string strPW = "<PW>";
                RD.SetDatabaseLogon(strUser, strPW, strServer, strDB);
                //ParameterFieldDefinitions crParameterFieldDefinitions = RD.DataDefinition.ParameterFields;
                //ParameterFieldDefinition crParameter1 = crParameterFieldDefinitions[0];
                //ParameterValues crParameter1Values = crParameter1.CurrentValues;
                //ParameterDiscreteValue crDiscrete1Value = new ParameterDiscreteValue();
                //crDiscrete1Value.Value = "GER";
                //crParameter1Values.Add(crDiscrete1Value);
                //crParameter1.ApplyCurrentValues(crParameter1Values);
                RD.ExportToDisk(ExportType, "C:\\Test2.pdf");
    RecordSelectionFormula in Report:
    (not HasValue({?Land}) OR {tab.location_code} = {?Land}) and
    {tab.sup} = "XXX" and
    {tab.Accounting_Period} = "200801"

    You need to be careful when using optional parameters. If you are using the optional parameter in a record selection formula you'll need to check and make sure it has a value before you use it. There is a function call HasValue() that you can use to do this.
    If you have an optional parameter in the record selection formula and you don't pass a value you'll need to make sure your selection formula can be completed with out it.
    This is an excerpt from our help file.
    Crystal Reports supports optional parameters. An optional parameter is a prompted value that does not have to be supplied by the user.
    Report designers should provide some guidance to the end user that a parameter is optional by adding this information to the prompt text.
    Optional parameters are treated by Crystal Reports as optional anywhere within the report that they are used. You cannot set one instance of the parameter to optional and another to mandatory.
    Note: After you set a parameter to optional, if you use the Select Expert, the system will automatically add the selection formula for you using the HasValue() function.
    The Formula Workshop Editor does not automatically add the formula. Only the Select Expert automatically adds the formula for you.
    If you change the parameter from optional to mandatory, the HasValue() function is not automatically removed from your formula.
    Handling a parameter with no value
    When the report engine evaluates any formula which references an optional parameter that does not have a value, it generates a runtime error. All formulas that reference an optional parameter should first use the HasValue() function to check if that parameter has a value before evaluating it. This includes record selection formulas and saved data formulas.
    Note: The system will not automatically drop a statement from the SQL WHERE clause. It is the report designeru2019s responsibility to decide which statement to leave out based on HasValue() testing.

  • Crystal reports 2008 preview doesnot prompt parameters

    Hi All,
           I have created a crystal report in 2008 using OLE DB(ADO) connection. I have created a command to select few fields in one of our tables and the result should display based on parameter sent. When I created the command i as well created parameter using parameter list window. The parameter is setup and all is fine when I click preview the report it prompts for all record or first hundred records when i said ok it should prompt me for the Parameter which it doesnot. Every time i need to go to verify database for doing this ? Can some help me out on this ?
    Thanks,
    Prathima

    Hi Prathima,
    Are you using the "Preview Sample" option to refresh the report? That's the only option that prompts you to bring back all the records or the 1st 100 records.
    Use the"Refresh" icon instead or hit hit F5 button on your keyboard to refresh the report and you should be prompted to enter parameter values.
    -Abhilash

  • Parameter Prompt when print only

    In the past we used the RDC to run reports within our application. When a user selects a report to run they have the option to preview or print it. No matter which option they chose the Crystal Parameter prompt screen would be displayed so they could enter the appropriate values. Then of course the report would run and either be printed directly to the printer (if chose print) or displayed in a viewer (if chose preview). We have recently switched to using CR2008. We have the preview working like before but not the print option. I'm thinking we are just missing something. If we choose print then the parameter prompt screen from crystal never shows and therefore the user is unable to enter values and report fails. How do you get crystal display the parameter prompt screen when not using a viewer?

    There is no RDC in CR 2008 so I assume you are using VS 2008 and CR .NET Assemblies.
    Look at these samples for more options:
    Root Page
    http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsHome
    Enterprise Samples (including managed and unmanaged ras)
    http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsSDKSampleApplications
    Non-Enterprise Samples
    http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications
    Exporting Samples (RAS)
    http://wiki.sdn.sap.com/wiki/display/BOBJ/NETRASSDK+Samples#NETRASSDKSamples-Exporting%2FPrinting
    Also, use the ReportClientDocument.Refresh before making changes to the report to clear reports with saved data and then it will prompt for parameters.
    Thank you
    Don

  • How can avoid the  problem of Parameter Prompting when I submitting ?

    I am developing web application in visual studio 2008 in csharp.How can avoid the issue or problem of  Parameter Prompting when I send parameters programaticaly or dyanmicaly?  I am sending the values from .net web form to crystal report but it is still asking for parameters. so when i submit second time that is when the reports is being genereated. How can i solve this problem. Please help. The code Iam using is below.
       1. using System; 
       2. using System.Collections; 
       3. using System.Configuration; 
       4. using System.Data; 
       5. using System.Linq; 
       6. using System.Web; 
       7. using System.Web.Security; 
       8. using System.Web.UI; 
       9. using System.Web.UI.HtmlControls; 
      10. using System.Web.UI.WebControls; 
      11. using System.Web.UI.WebControls.WebParts; 
      12. using System.Xml.Linq; 
      13. using System.Data.OleDb; 
      14. using System.Data.OracleClient; 
      15. using CrystalDecisions.Shared; 
      16. using CrystalDecisions.CrystalReports.Engine; 
      17. using CrystalDecisions.Web; 
      18.  
      19.  
      20. public partial class OracleReport : System.Web.UI.Page 
      21. { 
      22.     CrystalReportViewer crViewer = new CrystalReportViewer(); 
      23.     //CrystalReportSource crsource = new CrystalReportSource(); 
      24.     int nItemId; 
      25.  
      26.     protected void Page_Load(object sender, EventArgs e) 
      27.     { 
      28.         //Database Connection 
      29.         ConnectionInfo ConnInfo = new ConnectionInfo(); 
      30.         { 
      31.             ConnInfo.ServerName = "127.0.0.1"; 
      32.             ConnInfo.DatabaseName = "Xcodf"; 
      33.             ConnInfo.UserID = "HR777"; 
      34.             ConnInfo.Password = "zghshshs"; 
      35.         } 
      36.         // For Each  Logon  parameters 
      37.         foreach (TableLogOnInfo cnInfo in this.CrystalReportViewer1.LogOnInfo) 
      38.         { 
      39.             cnInfo.ConnectionInfo = ConnInfo; 
      40.  
      41.         } 
      42.  
      43.  
      44.  
      45.  
      46.  
      47.  
      48.         //Declaring varibles 
      49.          nItemId = int.Parse(Request.QueryString.Get("ItemId")); 
      50.         //string strStartDate = Request.QueryString.Get("StartDate"); 
      51.         //int nItemId = 20; 
      52.         string strStartDate = "23-JUL-2010"; 
      53.  
      54.         // object declration 
      55.         CrystalDecisions.CrystalReports.Engine.Database crDatabase; 
      56.         CrystalDecisions.CrystalReports.Engine.Table crTable; 
      57.  
      58.  
      59.         TableLogOnInfo dbConn = new TableLogOnInfo(); 
      60.  
      61.         // new report document object 
      62.         ReportDocument oRpt = new ReportDocument(); 
      63.  
      64.         // loading the ItemReport in report document 
      65.         oRpt.Load("C:
    Inetpub
    wwwroot
    cryreport
    CrystalReport1.rpt"); 
      66.  
      67.         // getting the database, the table and the LogOnInfo object which holds login onformation 
      68.         crDatabase = oRpt.Database; 
      69.  
      70.         // getting the table in an object array of one item 
      71.         object[] arrTables = new object[1]; 
      72.         crDatabase.Tables.CopyTo(arrTables, 0); 
      73.  
      74.         // assigning the first item of array to crTable by downcasting the object to Table 
      75.         crTable = (CrystalDecisions.CrystalReports.Engine.Table)arrTables[0]; 
      76.  
      77.         dbConn = crTable.LogOnInfo; 
      78.  
      79.         // setting values 
      80.         dbConn.ConnectionInfo.DatabaseName = "Xcodf"; 
      81.         dbConn.ConnectionInfo.ServerName = "127.0.0.1"; 
      82.         dbConn.ConnectionInfo.UserID = "HR777"; 
      83.         dbConn.ConnectionInfo.Password = "zghshshs"; 
      84.  
      85.         // applying login info to the table object 
      86.         crTable.ApplyLogOnInfo(dbConn); 
      87.  
      88.  
      89.  
      90.  
      91.  
      92.  
      93.         crViewer.RefreshReport(); 
      94.          
      95.                 // defining report source 
      96.         crViewer.ReportSource = oRpt; 
      97.         //CrystalReportSource1.Report = oRpt; 
      98.          
      99.         // so uptill now we have created everything 
    100.         // what remains is to pass parameters to our report, so it 
    101.         // shows only selected records. so calling a method to set 
    102.         // those parameters. 
    103.      setReportParameters();  
    104.     } 
    105.  
    106.     private void setReportParameters() 
    107.     { 
    108.       
    109.         // all the parameter fields will be added to this collection 
    110.         ParameterFields paramFields = new ParameterFields(); 
    111.          //ParameterFieldDefinitions ParaLocationContainer = new ParameterFieldDefinitions(); 
    112.        //ParameterFieldDefinition ParaLocation = new ParameterFieldDefinition(); 
    113.         
    114.         // the parameter fields to be sent to the report 
    115.         ParameterField pfItemId = new ParameterField(); 
    116.         //ParameterField pfStartDate = new ParameterField(); 
    117.         //ParameterField pfEndDate = new ParameterField(); 
    118.  
    119.         // setting the name of parameter fields with wich they will be recieved in report 
    120.        
    121.         pfItemId.ParameterFieldName = "RegionID"; 
    122.  
    123.         //pfStartDate.ParameterFieldName = "StartDate"; 
    124.         //pfEndDate.ParameterFieldName = "EndDate"; 
    125.  
    126.         // the above declared parameter fields accept values as discrete objects 
    127.         // so declaring discrete objects 
    128.         ParameterDiscreteValue dcItemId = new ParameterDiscreteValue(); 
    129.         //ParameterDiscreteValue dcStartDate = new ParameterDiscreteValue(); 
    130.         //ParameterDiscreteValue dcEndDate = new ParameterDiscreteValue(); 
    131.  
    132.         // setting the values of discrete objects 
    133.          
    134.  
    135.           dcItemId.Value = nItemId; 
    136.          
    137.         //dcStartDate.Value = DateTime.Parse(strStartDate); 
    138.         //dcEndDate.Value = DateTime.Parse(strEndDate); 
    139.          
    140.         // now adding these discrete values to parameters 
    141.           //paramField.HasCurrentValue = true; 
    142.  
    143.        
    144.  
    145.           //pfItemId.CurrentValues.Clear(); 
    146.          int valueIDD = int.Parse(Request.QueryString.Get("ItemId").ToString()); 
    147.           pfItemId.Name = valueIDD.ToString();  
    148.            
    149.         pfItemId.CurrentValues.Add(dcItemId); 
    150.         //ParaLocation.ApplyCurrentValues; 
    151.         pfItemId.HasCurrentValue = true; 
    152.         
    153.         //pfStartDate.CurrentValues.Add(dcStartDate); 
    154.         //pfEndDate.CurrentValues.Add(dcEndDate); 
    155.  
    156.         // now adding all these parameter fields to the parameter collection 
    157.         paramFields.Add(pfItemId); 
    158.          
    159.         //paramFields.Add(pfStartDate); 
    160.         //paramFields.Add(pfEndDate); 
    161.         ///////////////////// 
    162.         //Formula from Crystal 
    163.        //crViewer.SelectionFormula = "{COUNTRIES.REGION_ID} = " + int.Parse(Request.QueryString.Get("ItemId")) + ""; 
    164.         crViewer.RefreshReport(); 
    165.         // finally add the parameter collection to the crystal report viewer 
    166.         crViewer.ParameterFieldInfo = paramFields; 
    167.         
    168.          
    169.      
    170.     } 
    171. }

    Keep your post to under 1200 characters, else you loose the formatting. (you can do two posts if need be).
    Re. parameters. First, make sure yo have SP 1 for CR 10.5:
    https://smpdl.sap-ag.de/~sapidp/012002523100009351512008E/crbasic2008sp1.exe
    Next, see the following:
    [Crystal Reports for Visual Studio 2005 Walkthroughs|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23]
    CR Dev help file:
    http://msdn2.microsoft.com/en-us/library/bb126227.aspx
    Samples:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • How to set no_value to Optional parameter in XI 3.0 by OpenDoc URL linking

    I found in "BusinessObjects XI 3.0 Viewing reports and documents using URLs Howto.doc"
    "You can remove an optional parameter from the prompt by setting it to no_value in the OpenDocument query string."
    I tested: response.sendRedirect("/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AaVxpKuKNBxKnHUJCqwuRi0&lsSCountry=""no_value""&token=" + logonToken);
    But it will filter no data, because no country call "no_value". I still need to delete the value, and click Apply, to get all data.
    I wonder how to achieve optional parameter via opendocument linking, to get a report with "full data set".
    Any one can help?
    Thanks in advance!
    Jennie

    Hi Jennie,
    I'm wondering if "1203675 - Cannot specify an empty string for an optional string parameter through the refresh prompts page which displays "no value" unlike the parameter panel" is related to this.
    Instead of using no value or empty string, how about if you use ALL value for the parameter to bring full data? Check "1218621 - Option "All" in list of values for a dynamic prompt in XI"
    Hitomi

  • Passing optional parameter to subreport

    Hi,
    I am having a CR 2008 report based on BW query.  The query has optional parameter (the value can be set to NULL).  When I try to use this report as subreport in my main report, I am unable to pass Null(equivalent to set to NULL) to my subreport using subreport link.  I tried blank and "" in a formula field and try to link it to the subreport parameter but it doesn't work.  Kindly guide me in this regard.
    Thanks and Regards,
    Subbu S

    Hi Subbu,
    Try to create a formula and pass the formula value to your sub report parameter and in sub report record selection based on main report formula value try to filter the records.
    Ex: Main report create the following formula :
    Whileprintingrecords;
    Shared Stringvar x;
    If not hasvalue({?Optional}) then
    x:='No Value'
    else
    x:={?Optional}
    Now link this to your sub report parameter
    In sub report record selection
    If {?parameter} = 'No Value ' then true else {?Parameter} =  FieldValue.
    Thanks,
    Sastry

  • Parameter Prompt, additional line being displayed

    When viewing report in Crystal Report XI, which was developed in earlier version of Crystal Report, an additional Parameter Prompt Text is displayed.  Then opening report in version of Crystal report developed in text is gone. 
    In Crystal Report XI Prompt Text is displayed as:
         Enter desired Ending Cleared Date for report display:
         Please enter date in format u201Cyyy-mm-ddu201D
    In Crystal Report 8.t Prompt Text is displayed as:
         Enter desired Ending Cleared Date for report display:
    Where is this text coming from, and how can it be removed?

    Because this is a date field, the report is looking for data formatted as:  MM-DD-YYYY
    But the Prompt is:
    Enter desired Ending Cleared Date for report display:
    Please enter date in format u201Cyyyy-mm-ddu201D
    This is really confusing our end users.  When they manually enter the data as the prompt is telling them (yyyy-mm-dd), they get a bad date error message.
    Is there a way to make this extra line of prompt text match the date format needed by the report?
    Edited by: Barbara Miller on Jul 16, 2008 12:03 AM

  • Hyperlinks with optional parameter in BO XI3.1

    Hi All,
    Can anyone please guide me how can i create a hyperlink which takes care of optional parameter and uses the same when there is a value or drop it otherwise from URL.
    I am not sure how no_value used to work, please guide me in that direction too.
    Thanks a lot in advance
    Regards,
    Honed Ali

    Hi,
    try with this formulas.
    1. If you want to pass a single value to a prompt in child report
    http://<servername>:<port>/OpenDocument/opendoc/<platformSpecific>sType=wid&sDocName=SalesReport&iDocID=2010&lsSSelectaCity=Paris
    2.  If you want to pass a range of values to a prompt in child report
    http://<servername>:<port>/OpenDocument/opendoc/<platformSpecific>?sType=rpt&sDocName=SalesReport&lsMSelect+Cities=[Paris],[London]
    Cheers,
    Suresh Babu Aluri.

  • Click on calendar control in parameter prompt of viewer gets Jscript error

    Within SAP supplied CrystalViewer.  VS2008 web app, XIR2 Crystal Server, 11.5.3700 or 11.5.3300 libraries.  Although not a forum favored combination of tools, everything seems to work except calendar control within parameter prompts.
    IUSER_(machine name) or everyone has read and execute access for directory and subdirectories via IIS and Windows file system (suggestion from a more general problem post).
    I am able to fill in the date parameter text box and all works well.  Calendar icon properly displays to right of text box but it is followed on subsequent lines by :
    Business Objects X
    i
    i
    within the individual parameter box.
    Click on calendar icon to allow pick of date from calendar causes Jscript error.
    alan

    Hi Jonathon,
    Thank you for your quick response.  Response to you questions follows.
    Q:Does it work anywhere? 
    A:It doesn't work on any date parameter when executed in VS project.  (It does work with Crystal Developer XIR2 client.)  I am only using the viewer - not designing report within project.  Given that, can you suggest a test for calendar control outside of parameters to answer this question?  Sorry for my ignorance.
    Q:It is likely the combination of CR 2008 / XI R2 is not playing well, as you've indicated - they are not meant to. It could be missing runtime files causing issues. Is the CR 2008 runtime installed on the server as well, or only the XI R2 runtime?
    A: We have VS2008 but not CR2008 which is what I think you meant.  With VS2008 installed on development workstation accessing remote XIR2 server objects, a web app running on workstation has problem with calendar.  I am out of my league, but I am thinking the execution of a calendar control for a parameter would not need to call any Crystal libary which might mess things up, but the call is coming from an 11.5.3700 viewer which may be making the wrong call for a VS2008 base library that handles calendar control.  But, I am hoping instead that the problem is that it cannot find something it needs or that it does not have proper access to that something (which has been the cause of all the other problems I have solved).
    alan

  • Unable to see SQL Server 2008 option in Designer

    Hi Guys,
    We are using SQL Server 2008 and BO XI R3. While creating a new universe connection we can see (under microsoft) SQL Server 2005, but not the SQL Server 2008.
    How can we see the SQL Server 2008 option. Do we need to change some settings in BO or SQL Server?
    Thanks & Regards
    Manish Tiwari

    What version of XI 3.x are you on? Microsoft SQL Server Analysis Services 2008 is only supported with XI 3.1 and higher. The supported platforms document for XI 3.1 is [here|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/60cdb229-d874-2b10-18ac-ed2f46873753&overridelayout=true].

  • Optional Parameter in ODSI

    Hi,
    I have to create a Optional Parameter in ODSI function as given following :
    xquery version "1.0" encoding "UTF-8";
    (::pragma xds <x:xds targetType="urn:AddressInfo" xmlns:x="urn:annotations.ld.bea.com" xmlns:urn="http://www.wcbsask.com/employeerCoverage/AddressInfo"><creationDate>2010-10-15T15:19:40</creationDate><userDefinedView/></x:xds> ::)
    declare namespace wbt= "ld:Physical/CBC";
    import schema namespace ns1="http://www.abc.com/employeerCoverage/AddressInfo" at "ld:Logical/AddressInfo/schemas/AddressInfo.xsd";
    declare namespace tns="ld:Logical/AddressInfo/SampleOptional";
    (::pragma function <f:function kind="read" visibility="public" isPrimary="true" xmlns:f="urn:annotations.ld.bea.com"/>::)
    declare function tns:getSampleOptional($formNum as xs:string,$optinalInput as xs:integer?) as element(ns1:AddressInfo)?{
    for $cbc in wbt:CBC()
    where $formNum eq $cbc/FORM_NUM
    return
    <ns1:AddressInfo>
    if(exists($optinalInput))then
    <ns1:regNum>{fn:data($CBC/FORM_NUM)}</ns1:regNum>
    else(
    <ns1:cusNumber>{fn:data($optinalInput)}</ns1:cusNumber>
    </ns1:AddressInfo>
    when i am passing the form number as some value and OptionalInput as null(since the parameter is optional). I am getting error as
    com.bea.dsp.das.exception.DASException: weblogic.xml.query.exceptions.XQueryDynamicException: {err}XP0021: "": can not cast to {http://www.w3.org/2001/XMLSchema}integer: error: decimal: Invalid decimal value: expected at least one digit
         at com.bea.dsp.das.ejb.EJBClient.invokeOperation(EJBClient.java:160)
         at com.bea.dsp.das.DataAccessServiceImpl.invokeOperation(DataAccessServiceImpl.java:171)
         at com.bea.dsp.das.DataAccessServiceImpl.invoke(DataAccessServiceImpl.java:122)
         at com.bea.dsp.ide.xquery.views.test.QueryExecutor.invokeFunctionOrProcedure(QueryExecutor.java:113)
         at com.bea.dsp.ide.xquery.views.test.XQueryTestViewContent.getFunctionExecutionResult(XQueryTestView.java:1041)
         at com.bea.dsp.ide.xquery.views.test.XQueryTestViewContent.executeFunction(XQueryTestView.java:1176)
         at com.bea.dsp.ide.xquery.views.test.XQueryTestViewContent.widgetSelectedImpl(XQueryTestView.java:1866)
         at com.bea.dsp.ide.xquery.views.test.XQueryTestViewContent.access$300(XQueryTestView.java:174)
         at com.bea.dsp.ide.xquery.views.test.XQueryTestViewContent$3.run(XQueryTestView.java:1594)
         at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
         at com.bea.dsp.ide.xquery.views.test.XQueryTestViewContent.widgetSelectedBusy(XQueryTestView.java:1597)
         at com.bea.dsp.ide.xquery.views.test.XQueryTestViewContent.widgetSelected(XQueryTestView.java:1560)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3687)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3298)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
         at org.eclipse.equinox.launcher.Main.eclipse_main(Main.java:1148)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.m7.installer.util.NitroxMain$1.run(NitroxMain.java:33)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    Kindly help in the issue.
    Regards,
    Tara

    "when i am passing ... and OptionalInput as null"
    What does that mean exactly? From the exception, it looks like you are just leaving the text box blank. For 'null' you have to check the 'null' check-box beside it.

Maybe you are looking for

  • How can I find my apple ID name?  I changed it to something with a typo and now I cannot log in.

    I changed the email account from an old email address to a new email address about a month ago.  I couldn't log back into the account, and when I tried to retrive the password (which I did not change) the website said that no apple ID existed under e

  • 2.1 Update did not fix SMS tone issue

    I have been having the text tone issue as many others have. That problem being that when a text is recieved the phone will only vibrate. The 2.1 update did not fix the issue...imagine that.

  • Won't display graphics, only text

    need some help here. safari will only display text no graphics? i cleared the cache, that didn't help. i emptied cookies, that didn't help. i reset safari, that didn't help. all the trouble started after i upgraded to 10.4.5 any help would be great.

  • How to show an ALV grid in planning book (using macro-exit)

    Hi Expertss, I am using a macro-exit. Now in the execution flow of this macro-exit I am required to shaow an ALV grid. I tried calling a Zreport in which i am calling alv screen(screen type dialog box). It is giving a short-dump saying Exception cond

  • Mail search don't return results in chronological order

    This change completely voids my ability to find an email using my IPad.   I need to be able to sort by newest to oldest.   Lots of threads on this it just needs to be fixed!  Good thing I still have my Android phone.