Dynamic Cascading Parameters - cannot select/enter parameter value

I am rather new working with Crystal Reports and am having problems with Dynamic Cascading Parameters.
I am using CR 2008 SP2, Version 12.2.0.290.  Data is from SQL server.
I have a report to print labels for parts in an order.  I want to be able to enter the ShipTo ID then the contract number.  From there I would like a list of the parts on the contract and be able to select multiple parts to print labels for.
I right clicked on Parameter Fields and chose New.  I named it ShipToContractPartNo, Type String, List of Values=Dynamic. 
I added the values as follows:
ShipToID - Editable, Allow Multiple=False, Allow Discrete=True (cannot be changed), Allow Range=False
...ContractNo - Allow Multiple=False, Allow Discrete=True (cannot be changed), Allow Range=False
... ...CustPartNo - Allow Multiple=True Allow Discrete=True (cannot be changed), Allow Range=False
I added the Customer Part parameter to the label.
When I test the label the parameter Enter Values window looks good but the drop down for Enter ShipToID does not have any ShipTo ID's to choose from and I cannot enter a value, therefore I cannot continue.  I also do not have a Cancel button and always have to end through Task Manager but that's probably a different, unrelated issue.
I have tried this with and without entering Select Expert records.
Could someone please tell me if I have missed a step or if there is a known issue?  I searched this site, I looked in CR Help, I referred to the book I have and I googled but have not found this speciic issue.
Thanks in advance for your assistance.  Let me know if additional information is necessary.
Jan

OK.  I have rejoined/relinked all my tablesas follows (with abbreviated names for ease of reading). The actual SQL is at the end.
..Job_Hdr JOINED to Job_Shipto
.....Job_Shipto JOINED to Job_Line
........Job_Line JOINED to Job_Bin
............Job_Line JOINED to Inv_Mast
When I create a Dynamic Cascading Parameter prompt on just ContractNo (parent - from table Job_Hdr) and ShipTo (child - from table Job_ShipTo) then it gives me list of Contracts to select from and then a list of ShipTo's for that Contract to select from.  I place them in the Report Header.  I do not add them to the Select Expert.  This works great.
Now I need to be able to select the parts necessary from the Contract/ShipTo.  When I try to create a Dynamic Cascading Parameter with ContractNo and ShipTo (set up the same as above)  and add in ContractPartNumber (from table Job_Bin) to the parameter then my ContractNo and ShipTo parameters no longer work.  It gives me only 1 contract number to choose from, which isn't the one I want.
I have tried so many different things and I cannot get the parameters to work when I try to add PartNo into the parameters.
Any suggestions now?
Jan
SELECT "p21_view_inv_mast"."item_desc", "p21_view_job_price_line"."customer_part_no", "p21_view_job_price_hdr"."contract_no", "p21_view_job_price_bin"."min_qty", "p21_view_job_price_bin"."reorder_qty", "p21_view_job_price_bin"."line_station", "p21_view_job_price_line"."row_status_flag", "p21_view_job_price_bin"."line_feed", "p21_view_job_price_bin"."row_status_flag", "p21_view_job_price_bin"."contract_bin_id"
FROM   ((("Prophet21"."dbo"."p21_view_job_price_hdr" "p21_view_job_price_hdr"
INNER JOIN "Prophet21"."dbo"."p21_view_job_price_customer_shipto" "p21_view_job_price_customer_shipto" ON "p21_view_job_price_hdr"."job_price_hdr_uid"="p21_view_job_price_customer_shipto"."job_price_hdr_uid")
INNER JOIN "Prophet21"."dbo"."p21_view_job_price_line" "p21_view_job_price_line" ON "p21_view_job_price_customer_shipto"."job_price_hdr_uid"="p21_view_job_price_line"."job_price_hdr_uid")
INNER JOIN "Prophet21"."dbo"."p21_view_job_price_bin" "p21_view_job_price_bin" ON ("p21_view_job_price_customer_shipto"."ship_to_id"="p21_view_job_price_bin"."ship_to_id") AND ("p21_view_job_price_line"."job_price_line_uid"="p21_view_job_price_bin"."job_price_line_uid"))
INNER JOIN "Prophet21"."dbo"."p21_view_inv_mast" "p21_view_inv_mast" ON "p21_view_job_price_line"."inv_mast_uid"="p21_view_inv_mast"."inv_mast_uid"
WHERE  "p21_view_job_price_bin"."row_status_flag"=704 AND "p21_view_job_price_line"."row_status_flag"=704
ORDER BY "p21_view_job_price_bin"."line_feed", "p21_view_job_price_bin"."line_station"

Similar Messages

  • How to disable "Enter Parameter Values" for optional paramters?

    I'm having issues getting the Crystal Reports .NET Viewer to suppress the "Enter Parameter Values" dialog for optional parameters.  I have templates created using Crystal Reports 2008 and am linking against the CR for VS 2010 runtime.
    Within the report template the optional paramter has "Optional Prompt" set to "True".  This particular parameter also allows multiple values and is used in record selection.  Within the record selection it is using HasValue().
    It seems the parameter is set up properly as I have other parameters that are set within the code that are not prompted for.  If I pass in the optional parameter through the code the "Enter Paramater Values" dialog also does not appear and the report is generated correctly.  All of the parameters are set using ParameterFields and they are set before the ReportSource is set.
    Looking through the .NET API documentation it seems like the CrystalReportViewer should have an "EnableParameterPrompt" property that would do what I want however it doesn't seem to be a valid parameter as I get compile errors when I try to use it...  Not sure if it matters or not but I am using managed C++ and our application is built using Visual Studio 2005.  Could that maybe have something to do with it?
    Thanks,
    -Ben

    OK, I'm going to answer my own question as with a little more digging I was able to find out that I needed to set some stuff on the report document to specify that there are no values.  Still not sure why "EnableParameterPrompt" is not valid for me though as it seems like that would work as well.  At any rate here is what I needed to do:
    ReportDocument->ParameterFields[<Optional Parameter Name>]->CurrentValues->Clear();
    ReportDocument->ParameterFields[<Optional Parameter Name>]->CurrentValues->IsNoValue = true;
    -Ben

  • How to suppress "enter parameter values" screen in crystal reports for Visu

    Hi,
        I am passing parameters to the report through program.  But still the "Enter Parameter Values" Dialog is shown every time I run the application.  Code used to pass parameters is given below:
                    rptCBBookRpt objRptCBBook = new rptCBBookRpt();
                    objRptCBBook.SetParameterValue("@Branch", strBranch);
                    objRptCBBook.SetParameterValue("@CoName", mdlFinIF.objCommon.CoName);
                    objRptCBBook.SetParameterValue("@Heading", strHeading);
                    objRptCBBook.SetParameterValue("@UserInfo", mdlFinIF.objCommon.ReportInfo());
    How can I suppress the "Enter Parameter Values" dialog.  Please help.
    Cris Evan

    Well, no. But this being a community, not technical support, you may get a response, perhaps even an actual answer, or you may not...
    If you are not getting a response or an answer, you may want to consider obtaining a dedicated support here:
    http://store.businessobjects.com/store/bobjamer/en_US/pd/productID.98078100?resid=S6I@hgoHAkEAAGsiyVkAAAAR&rests=1282226845369
    Look at samples here:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    Check out the [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] - it will apply to your version of CR...
    And of course, developer help files.
    - Ludek

  • Disabling the Enter Parameter Value dialog box

    I'm developing Crystal Reports in a WPF application using CRVS2010
    The issues I'm having are the following:
    I am attempting to pass parameter values to a report. I have been able to set a several paramater values by using the following syntax:
    ReportObject.SetParameterValue("ParameterName1", ParameterValue1);
    ReportObject.SetParameterValue("ParameterName2", ParameterValue2);
    ReportObject.SetParameterValue("ParameterName3", ParameterValue3);
    ReportObject.SetParameterValue("ParameterName4", ParameterValue4);
    Issue #1:
    Each time I run the application sometimes the report will display with the report data and parameter values; Other times, just before the report displays, it will prompt me to "Enter Parameter Value".
    How do I prevent this dialog box from displaying so that the programmed parameter values will display instead?
    Issue #2:
    When the Refresh button on the Viewer control menu is clicked a dialog box prompts ask if the new parameter values should be used or to use the old parameter values.
    How do I prevent this dialog box from displaying and refresh the paramater values?
    I know that there is a ReuseParameterWhenRefresh property that's part of the ViewCore class but I'm not sure how to use it to eleviate the issue I'm having on the refresh.
    Any help that can be provided with this most urgent matter (on my part of course) would be most appreciated.
    Marlon

    One issue per thread please see See [Rules Of engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement].
    Take a look at the [sample applications for CR for VS 2010|http://www.sdn.sap.com/irj/boc/samples?rid=/library/uuid/5050d3d0-19dd-2d10-ffb2-ddcd30a3e655].
    Passing parameter sample app woould be able to resolve your issue.
    Hope this helps,
    Bhushan.

  • Multiple selection of parameter values (BIP 10.1.3.2)

    Hi there,
    I'm working with BI Publisher 10.1.3.2 and I'd like to use parameters allowing multiple selection. I've tried it with both data templates and SQL queries ... but I'm not getting it work ...
    I've established a simple "Show me department name and id"-example according to my parameter selection (you can select multiple values e.g. Administration, Marketing, Sales ... and the "All"-option is activated as well), based on the HR/OE schema.
    Here's just a quick note, where I tested the way the Publisher Engine copes with parameter selection in general
    5.6.2
    single selection => e.g. Administration
    multiple selection => e.g. Administration,Marketing
    All => *
    10.1.3.2
    single selection => e.g. Administration
    multiple selection => e.g. 'Administration','Marketing'
    All => null
    So, in 10.1.3.2 there's been an improvement concerning single quotes - in the case of multiple selection only. I do not know why there are no single quotes for a single selection, but it seems like that's the way it is ...
    Well, I've created a simple SQL query as follows:
    CASE 1 *
    select DEPARTMENT_ID as ID, DEPARTMENT_NAME as NAME
    from DEPARTMENTS
    where DEPARTMENT_NAME IN (:myParameter)
    => All does not work
    => Single Selection is working
    => Multiple Selection is working
    sample output in the case of selecting "Marketing" (single selection):
    <TESTINGIN>
    <myParameter>Marketing</myParameter>
    <LIST_DEPTS>
    <DEPTS>
    <_MYPARAMETER>Marketing</_MYPARAMETER>
    <ID>20</ID>
    <NAME>Marketing</NAME>
    </DEPTS>
    </LIST_DEPTS>
    </TESTINGIN>
    ... and I've tried the same select statement using a data template instead, and then I got another result: both, All and Multiple Selection, do not work (I'm getting back an empty element)
    sample (error) output in the case of selecting both "Marketing" and "Administration" (multiple selection):
    <TESTINGIN>
    <myParameter>'Administration','Marketing'</myParameter>
    <LIST_DEPTS></LIST_DEPTS>
    </TESTINGIN>
    In order to cover the "All"-case ... I manipulated my select statement as follows and used it as SQL query:
    CASE 2 *
    select DEPARTMENT_ID as ID, DEPARTMENT_NAME as NAME
    from DEPARTMENTS
    where DEPARTMENT_NAME IN (nvl(:myParameter, DEPARTMENT_NAME))
    => All is working now
    => Singe selection is working
    => Multiple selection is not working any more (ORA-00909: Ungültige Anzahl von Argumenten / illegal amount of arguments)
    ... using the same select statement within a data template, Multiple Selection is still not working (empty element)
    Last, I've tried another select statement, based on an entry of the xml publisher forum:
    CASE 3 *
    select DEPARTMENT_ID as ID, DEPARTMENT_NAME as NAME
    from DEPARTMENTS
    where DEPARTMENT_NAME IN (:myParameter) or :myParameter IS NULL
    => All is working
    => Singe selection is working
    => Multiple selection is not working (ORA-00920: Ungültiger relationaler Operator / illegal relational operator)
    So, I couldn't find a way that all three possibilities are working ... and using data templates, multiple selection never worked. If I hardcoded the where clause in the data template,
    e.g. where DEPARTMENT_NAME IN ('Administration','Marketing'), it worked fine (no matter, whether I place the sql statement within an CDATA section, or not).
    Can anyone tell me, what I'm doing wrong here?
    While testing my problem, I figured out that there's a difference of generated parameter output ... I just put the parameter in the select list, and depending on whether you use SQL query or data template, you'll get different results:
    SQL statement
    => for each parameter value an own parameter
    <_MYPARAMETER>Administration</_MYPARAMETER> in the case of single selection
    <_MYPARAMETER8093>Administration</_MYPARAMETER8093>
    <_MYPARAMETER8094>Marketing</_MYPARAMETER8094> in the case of multiple selection
    data Template
    => list of parameter values
    <_MYPARAMETER>Administration</_MYPARAMETER> in the case of single selection
    <_MYPARAMETER>'Administration','Marketing'</_MYPARAMETER> in the case of multiple selection
    Maybe that's the problem? I don't know, this difference how the Publisher Engine copes with parameters just attracted attention to me ...
    Alright, I hope it was not too confusing. I would appreciate any help, since here @ the customer's site we need to use data templates inclduing multiple selection in order to establish a context for VPD.
    The problems in summary:
    - how to write a select statement to include all three possibilites of parameter selection (single selection, multiple selection, All option)
    - multiple selection never worked using data templates
    Can someone help me here?

    hi,
    i think you have to use lexical parameters and a package, like this:
    <dataTemplate name="departments" dataSourceRef="hr@demo" defaultPackage="bip_departments">
    <parameters>
    <parameter name="p_location_id" include_in_output="false" datatype="float"/>
    </parameters>
    <dataTrigger name="beforeReport" source="bip_departments.beforeReportTrigger"/>
    <dataQuery>
    <sqlStatement name="Q1">
    <![CDATA[ select d.department_id, d.department_name, d.location_id
                      from departments d
                     &p_where_clause
                order by location_id, department_id]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="LOC" source="Q1">
    <element name="location_id" value="location_id"/>
    <group name="DEPT" source="Q1">
    <element name="department_id" value="department_id"/>
    <element name="department_name" value="department_name"/>
    </group>
    </group>
    </dataStructure>
    </dataTemplate>
    with package:
    create or replace package bip_departments
    as
    p_location_id long;
    p_where_clause long;
    function beforereporttrigger
    return boolean;
    end bip_departments;
    create or replace package body bip_departments
    as
    function beforereporttrigger
    return boolean
    is
    l_return boolean := true;
    begin
    if (p_location_id is not null)
    then
    p_where_clause := 'where (d.location_id in (' || replace (p_location_id, '''') || '))';
    else
    p_where_clause := 'where 1=1';
    end if;
    return (l_return);
    end beforereporttrigger;
    end bip_departments;

  • Crystal Report Prompt For Enter Parameter Values

    Hi,
    I did a report with 2 subreports embeded in VS2005 using VB and it worked fine but when I ported the whole application to VS2008 the above problem occurs. Here are some codes:
        Private Sub btnPreview_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPreview.Click
            Dim viewer As New frmReportPreview
            Dim rpt As New ReportDocument
            Try
                rpt.Load("C:\Report\crptMain.rpt")
                rpt.SetParameterValue("Code", Me.cbxCode.Text)
                rpt.SetParameterValue("Code", Me.cbxCode.Text, "crptSubReport1.rpt")
                rpt.SetParameterValue("Code", Me.cbxCode.Text, "crptSubReport2.rpt")
                viewer.report = rpt
                viewer.WindowState = FormWindowState.Maximized
                viewer.ShowDialog()
            Catch crptEx As CrystalDecisions.CrystalReports.Engine.EngineException
                MessageBox.Show(crptEx.Message, "Crystal Report Errors...")
            Catch ex As Exception
                MessageBox.Show(ex.Message, "Crystal Report Errors...")
            End Try
        End Sub
    Private Sub frmReportPreview_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            Dim rpt As New CrystalDecisions.CrystalReports.Engine.ReportDocument
            Try
                Me.CrystalReportViewer.ReportSource = m_report
                Me.CrystalReportViewer.RefreshReport()
            Catch ex As Exception
                MessageBox.Show(ex.Message, "Error...")
            End Try
        End Sub

    Subreport Parameters are contained within the Main Report's ParameterFieldDefinitions collection. Passing Subreport Parameter values directly to the Subreport will result in the values not being applied and the user being prompted at runtime to provide new values.
    Ludek

  • Dynamic Search-help in Selection Screen Parameter

    Hi,
    Please can you provide some solution for the below requirements.
    I have 2 fields ( Organization channel and Team ) in my selection screen. Under one organization channel there can be many teams.
    And I am trying a  dynamic search help on both the fields using event AT selection-screen on Value request and
    FM 'F4IF_INT_TABLE_VALUE_REQUEST'.
    But I am facing the below issue .
    First I am giving some values in field 'Organization channel' . Then I am clicking on F4 button on my  2nd field 'Team' .
    and in debugging mode under the event  'At selection-screen on value request', Select option SO_Team is blank.
    The value provided in the Organiozation channel is not being captured in SO_TEAM-Low
    Please have a look on the below codes.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_team-low .
    if not  so_orgchannel-low  is  initial.      "Here so_orgchannel-low  value is coming as Zeros.
    select  * from HRP1001 into table GT_HRP1001
              where objid = so_orgchannel-low.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
             EXPORTING
                  retfield        = 'ORGID'
                  value_org       = 'S'
                  dynpprog        = 'ZTEST'
                  dynpnr          = '1000'
             TABLES
                  value_tab       = gt_hrp1001
             EXCEPTIONS
                  parameter_error = 1
                  no_values_found = 2
                  OTHERS          = 3.

    Hi,
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_team-low .
    "Add This  Begin
      CLEAR t_dynpfields.
      REFRESH t_dynpfields.
      t_dynpfields-fieldname  = 'SO_ORGCHANNEL-LOW'.
      APPEND t_dynpfields.
      w_repid = sy-repid.
    * reading Screen variables and Values
      CALL FUNCTION 'DYNP_VALUES_READ'
           EXPORTING
                dyname     = w_repid
                dynumb     = sy-dynnr
           TABLES
                dynpfields = t_dynpfields
           EXCEPTIONS
                OTHERS.
      READ TABLE t_dynpfields INDEX 1.
      so_orgchannel-low = t_dynpfields-fieldvalue.
    "Add this End
    if not  so_orgchannel-low  is  initial.      "Your code is here
    select  * from HRP1001 into table GT_HRP1001
               where objid = so_orgchannel-low.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
              EXPORTING
                   retfield        = 'ORGID'
                   value_org       = 'S'
                   dynpprog        = 'ZTEST'
                   dynpnr          = '1000'
              TABLES
                   value_tab       = gt_hrp1001
              EXCEPTIONS
                   parameter_error = 1
                   no_values_found = 2
                   OTHERS          = 3.
    Regards,
    Prabhudas

  • Exception is thrown while launching report , after entering parameter value

    I have a cystal report, which prompts for parameter value to be entered. When I enter the value and hit okay, an exception is generated. The call stack of the exception :-
    at CrystalDecisions.Windows.Forms.ParameterFieldInfo.get_isDCP()
    at CrystalDecisions.Windows.Forms.ParameterValueEditControl.Start()
    at CrystalDecisions.Windows.Forms.ParameterUnit.AddEditControl(ParameterValue pv)
    at CrystalDecisions.Windows.Forms.ParameterUnit.UpdateControls()
    at CrystalDecisions.Windows.Forms.ParameterUnit.set_ParameterFieldInfo(ParameterFieldInfo value)
    at CrystalDecisions.Windows.Forms.InteractiveParameterPanel.ShowParameters()
    at CrystalDecisions.Windows.Forms.CrystalReportViewer.ShowInteractiveParameters()
    at CrystalDecisions.Windows.Forms.CrystalReportViewer.ShowReport()
    at CrystalDecisions.Windows.Forms.CrystalReportViewer.OnPaint(PaintEventArgs evtArgs)
    at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
    at System.Windows.Forms.Control.WmPaint(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    at System.Windows.Forms.ContainerControl.WndProc(Message& m)
    at System.Windows.Forms.UserControl.WndProc(Message& m)
    at CrystalDecisions.Windows.Forms.CrystalReportViewer.WndProc(Message& msg)
    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)
    Can you please help me with this. Its strange that I do not have similar issue with other reports which prompt for parameter , However in this case the issue lies with show dialog box button in the parameter panel menu which throws an exception if the user clicks the show advanced dialog box button)

    Thank you . I used the MSI listed. Sorry to bother, but couple of questions ., firstly I cleaned up my system to make sure that I do not have any crystal reports assembly in GAC.
    Then I installed the msi per link suggested above and it did install crystal report 2008 sp3. After installing , I noticed that the gac contained 2 versions of assembly for CrystalDecisions.CrystalReports.Engine (Version - 12.0.1100.0 and File version 12.3.1101.684) and the other
    CrystalDecisions.CrystalReports.Engine (Version 12.0.2000.0 and File version 12.3.2001.684).
    I am little confused, why does it install 2 different version of assemblies.
    Also my application needs reference to the crystal reports assembly and since after installing the MSI, it was registered with GAC, I had to copy the content of GAC to a different folder (temp folder )and referenced the dll from temp folder.
    When I copied the contents of GAC, I could copy the Version 12.0.1100 only but not the other one. I want to use the version 12.0.2000.0 and see what happens, but how ?
    FYI - I tested with version 12.0.1100.o and file version 12.3.1101.684, the issue still exists.
    I hope you can help me
    Thanks.

  • Dynamically defined GeoRaster theme using WMS parameter values

    Hi everyone,
    In addition to dynamically defining a GeoRaster theme using SQL (which is documented by Oracle), is it possible to somehow access the WMS values of parameters in the WMS query which is accessing the theme? For example, can I grab the BBOX values from the WMS REQUEST and use that in my dynamic SQL statement?
    My goal for doing this is to select the most appropriate pyramid level of the raster imagery given the map scale of the WMS request.
    My other question is when using a GeoRaster theme containing a SQL statement, will the MapViewer WMS engine still automatically select imagery from all and any relevant georaster image that has a portion within the BBOX of the query?
    Cheers,
    MH

    A Georaster object can have pyramid levels, and in MapViewer you can define a pyramid level for a theme. If you define this parameter, then for any zoom level that you render, MapViewer will read the pixels for this pyramid level. Depending on the zoom level, you may be loading unecessary data due to the screen resolution. If you do not define the pyramid level, MapViewer will calculate the actual screen resolution given the query and device windows, and will load the pixels for the pyramid level that is closest to the actual screen resolution, resulting on a better performance.

  • How to select entered parameter for report?

    I developed a report in SSRS 2008R2 with several parameters. But now when the use selects the Supervisor from this query, it automatically changes to a different supervisor!
    Select Distinct
    Null As [supervisor_id],
    '-All-' As [supervisor_name],
    0 as sort
    UNION ALL
    select distinct
    supervisor_id,
    staff_name as [supervisor_name],
    1 as sort
    from staff_view v WITH (NOLOCK)
    where staff_id not in ('07BBA230-CA6E-402E-AEAF-FF1CB48AA41A','6394C3A3-5402-4578-BBF1-31FFCDD4EB90')
    Order By sort, [supervisor_name]
    In my report I have a SupervisorID parameter which uses supervisor_id as the value and supervisor_name as the label. (This is the Text datatype).
    I also tried running this as a text query instead of store proc, but this exhibited the same behavior. I also broke down this view into the source tables with the same behavior:
    select distinct
    supervisor_id,
    [supervisor_name] = evolv_cs.dbo.FormatName(people_rv.last_name,people_rv.first_name,people_rv.middle_name) +
    Case When IsNull(staff_rv.end_date, '12/31/2100') < GetDate() Then
    ' (Ended: ' + Convert(Varchar(10), staff_rv.end_date,101) + ')'
    Else '' End,
    1 as sort
    FROM
    staff_rv with (nolock)
    INNER JOIN people_rv with (nolock) ON staff_rv.people_id = people_rv.people_id
    INNER JOIN agency_rv with (nolock) ON staff_rv.agency_id = agency_rv.agency_id
    where supervisor_id is not null and
    staff_id not in ('07BBA230-CA6E-402E-AEAF-FF1CB48AA41A','6394C3A3-5402-4578-BBF1-31FFCDD4EB90')
    Order By sort, [supervisor_name]
    I'm not sure what else to try?
    Also, the code for FormatName is:
    ALTER FUNCTION [dbo].[FormatName](@last [nvarchar](4000), @first [nvarchar](4000), @middle [nvarchar](4000))RETURNS [nvarchar](100) WITH EXECUTE AS CALLERAS EXTERNAL NAME [EvolvSQLCLR].[UserDefinedFunctions].[FormatName]
    Ryan D

    Hi ironryan,
    Thank you for your question.  
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.  
    Thank you for your understanding and support. 
    Best Regards,
    Simon Hou

  • Enter parameter values screen

    Hi, I have used Crystal for several years and now trying the Visual Studio's 2010 version I have this problem: using a WIndows Forms App with the Crystal viewer when I generate a report that contains at least one parameter and run the app a screen with the parameter is asking me for the value but I have already set it in code, this is the code in VB. As you can see I have used several methods to pass parameters but I always got the parameters screen... please I need to know how to hide this screen !!
            Dim rptReporte As New CrystalDecisions.CrystalReports.Engine.ReportDocument
            rptReporte.Load("test.rpt")
            Dim myParameterFieldDefinitions As ParameterFieldDefinitions = rptReporte.DataDefinition.ParameterFields
            Dim myParameterFieldDefinition As ParameterFieldDefinition = myParameterFieldDefinitions("Empresa")
            Dim pvCol1 As New CrystalDecisions.Shared.ParameterValues
            Dim pdvEmpresa As New CrystalDecisions.Shared.ParameterDiscreteValue
            pdvEmpresa.Value = "Integrama"
            pvCol1.Add(pdvEmpresa)
            ' I have always use this with previous versions and worked fine
            'rptReporte.DataDefinition.ParameterFields("Empresa").ApplyCurrentValues(pvCol1)
            ' I have tried with this and does not work
            'rptReporte.SetParameterValue("Empresa", "Integrama")
            ' I have tried with this and does not work
            myParameterFieldDefinition.ApplyDefaultValues(pvCol1)
            myParameterFieldDefinition.ApplyCurrentValues(pvCol1)
            rptReporte.ReportOptions.EnableSaveDataWithReport = False
            crwViewer.ReportSource = rptReporte

    I found the solutions in this post:
    VS2010 Cannot pass Parameters Programmatically

  • PE03 - Cannot directly enter return values

    Hi all,
    I have a simple feature, the first decision is based on field PERSK (employee sub group) with offset 0 length 1.
    I wish to enter directly custom return values such as 1, 2, 3, 4, 5.
    But it is forcing me to pick return values from an F4 style pop up.
    The problem with using the F4 pop up is currently only Employee sub groups 1* and 2* are configured.
    Hence I cannot enter 3, 4 and 5, because 3, 4 5* employee sub groups are not yet configured in the system.
    I've checked other existnig features (e.g. QUOMO) and they do allow my to directly key in custom return values in a pop up box, regardless of whether they exist in the system or not.
    Any idea why I can do this is one feature and not another feature?
    I need to key in directly my own values.
    Thanks
    Kevin

    Problem solved (not really solved but i found the reason why its happening this way).
    Each feature is making use of a different structure
    It is called "Structure name for decision fields"
    (PE03 -> Attributes -> Struct)
    QUOMO uses structure PME87 which had no check table against its PERSK field (SE11)
    My custom feature was using another structure which had a check table against its PERSK field (SE11)
    After debugging PE03 I realize that if there is a check table, it will enforce a F4 style drop down when creating return values from a decision in the feature.
    Thanks all.
    Kevin

  • Change UI configuration dynamically when ever user selects a new value in a drop down field in WebUI

    I enhanced the standard activity component (i.e BT126S_APPT ). In this component, in BT126S_APPT/ApptSQ view there is a field 'PROCESS_TYPE' which is a dropdown. I have created a server event for this dropdown. So that whenever user selects a value in that dropdown, a event is called and after that DO_CONFIG_DETERMINATION is called. In DO_CONFIG_DETERMINATION, I am checking the value of 'PROCESS_TYPE' and based on that i am setting different config keys, by calling SET_CONFIG_KEYS( ). But the configuration is not changing in WebUI. When I press F2 in WebUI its showing the config keys( searched for ) as I set, but the found config keys are same as before. I have created the configuration with the new configuration keys. Please help, I am new to crm.

    Hello Shakthi,
    The easier option would be to convert the DropDownByKey to DropDownByIndex. If you still want to proceed with DropDownByKey then you need to initialise the ALV data again.  do the following
    1. after changing the attribute-value_set, call the ALV interface controller method SET_DATA and pass the instance of the context node.
    2. reintiliase all the ALV settings like edit mode, converting the column editor to DropDownByKey etc....
    This will ensure the new attribute value set is reflected in the ALV component.
    BR, Saravanan

  • Dynamic variant create for select option High value

    Hi ,
    I would like to set a dynamic variant for Date filed in selection screen as lower limit as 01/01/2009 and Last day of previous month as hiher limit. For examplae: Lower limit = 01/01/2009 and higher limit as 02/28/2011.
    Please help me in creating dynamic variant as mentiond above.
    Thanks & Regards,
    Venkat N.

    Hi,
    Thank you for your reply and could you please provide if you have any code.
    Thanks & Regards,
    Venkat N.

  • SSRS Matrix report to show or hide year column based on parameter value "Date" selected.

    Hey experts!
    I have a requirement an ssrs matrix report should display columns (year/s) based on parameter value (date/s). 
    My Dataset fileds are: Product, Year_name, Month_name, Date
    Currently my report output looks like this-
    Param Date: 2013-08-01 00:00:0.000
    Product +Calender2011      +Calender2012     -Calender 2013........                        +Calender2014
                             Total
                      Total Jan13  Feb 13  Mar13..  Dec13   Total           Total
    Abc                      100
                        220
    10      20         30.......  20       250              400
    Xyz 110
    200 50      80         40.......  30       450              600
    My requirement:  if I'm selecting Date parameter value as '2013-xx-xx' I should only able to see Year column 'Calender2013' and rest of the years should hide. Similarly If I'm selecting Date parameter value as '2014-xx-xx' I should only able to
    see Year column 'Calender2014' .
    Appreciate your kindly help. 
    Afan

    Hi Afan,
    According to your description, you want to only show the selected year on your report, right?
    In this case, you need to get the year from the date parameter using the expression below
    =Year(Parameters!Date.Value)
    And then use the expression below to get the year from Year_Name field.
    =Right(Fields!Year_Name.Value,4)
    Then add a filter to the dataset to filter the data like below
    Expression:=Year(Parameters!Date.Value)
    Operator:=
    Value:=Right(Fields!Year_Name.Value,4)
    Reference
    http://msdn.microsoft.com/en-IN/library/dd255287.aspx
    If you have any questions, please feel free to ask.
    Regards,
    Charlie Liao
    TechNet Community Support

Maybe you are looking for

  • Opening humantask in BPM WorkSpace with double click runs 2 instances

    Hello BPM experts, I have this standard scenario: User opens a task by double clicking on a task row in BPM Workspace task list. Then the task is opened both in popup and in the worspace window (below the task list table). My question is how can I ma

  • SQL-developer 4 EA - connections becomes invisible

    When leaving my SQL-developer open over nigth, my connections become invisible. The connections are still open and available but unfortunately invisible. I have to re-start SQL-developer in order to fix this annoying problem. I don't know the exact r

  • SAP Style (SE72)

    Hi, If we call a script from our print program, the system first searches for that form in the current client. If the form is not available in current client, then the system searches for that form in client 000 and calls it. Is this also true for SA

  • Actatel 871 cellphone won't pair with Macbook Pro using system 10.0/4

    I have a 3 month old Macbook Pro that came with Maverick on it (10.9.4) and I am unable to pair it successfully with my Actatel 871 phone which works perfectly with my iMac using system 10.6.8.  It will look like it's pairing, then when I send a pict

  • Battery Maximizer on the TaskBar

    Sometime within the last few months my T40p stop loading the battery maximizer icon in the taskbar on the lower right.  I can get it back by starting at appication manually, but I can't get it to start at boot up.  Does anyone know how I can fix this