Add a parameter to HR report (LDB driven)

Hi,
I need to add a new parameter on the selection screen of a HR report (LDB driven). I did look at the 'report category' but it only has limited parameters/selection options. I need to add one field from IT171 so that user could select based on the field from IT171. Is this possible? I mean if I add a parameter of my own do I need to filter the infotypes already read by the LDB?
I don;t know if my question is clear...
Thanks in advance.

Hi,
  I don't think you have an option to create or change the report category with the new field from PA0171.
  Declare the parameter/select option in your program and write the logic to filter the data (P0171) based on the
  values entered in the new field. Using LDB does not filter the new parameters included in program , it has to be written.
tables : pernr.
infotypes : 0171.
parameters : p_field like pa0171-<field>.
start-of-selection.
get pernr.
*filter the record(s) in P0171 based on the above p_field
end-of-selection.
Regards,
Srini.

Similar Messages

  • Blank report viewer control when adding a parameter to rdlc report

    Hi guys,
    I am currently generating a rdlc report in Visual Studio 2010 and embedding it into an asp page using a reportviewer control. My dataset is based on entity framework. The report runs fine and returns plenty of data in the format I want.
    Whenever I add a parameter to the report the reportviewer control on my page is just blank.
    I'm setting the parameter "available values" from a field in the same dataset used to generate the report but even if I add an empty parameter with no available values the reportviewer control is still blank.
    This is the same in both Internet Explorer 8 and Firefox 5.
    Any ideas where I'm going wrong?
    Thanks in advance.

    Hi,
    please check your report viewer property and make sure the parameter prompts property is true in your code
    rvReportViewer.ShowParameterPrompts =
    True

  • How to change sql server reports parameter direction in report builder 3.0

    Hi All,
    I have created few reports using Report Builder 3.0 with the data source as SharePoint list. i have created a web part page and added the ".rdl"
    file, everything is working as expected. Later, i got a requirement to add a parameter to the report , i did that and when i ran the report in SharePoint page, the parameters shows right side and the parameter ribbon shows the dropdown control on top and "Apply
    button" at the bottom. When i presented this to my manager, he says the parameter ribbon looks bad and suggested to put both the controls together and also instead of displaying at right side vertical, display it horizontal.
    I have below queries
    How can i change the direction of parameter ribbon from vertical to horizontal
    How can i bring the controls together (e.g. dropdown list control and button)
    How can i add buttons on the report in report builder 3.0
    How to get/reflect the data in report without refreshing the page.
    Can someone please guide me, how to achieve the above functionalities..
    MercuryMan

    Unfortunately, where the parameters are located and the button distance away from the parameters are not something you can customize. Here are the options available for customization:
    http://msdn.microsoft.com/en-us/library/bb326214.aspx
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Requirement to add new parameter in selection  in report painter report

    Hi Gurus,
    I have a requirement to add an extra field in Cost center:Act/Plan/Comm CC Cur report.This is otherwise a Z report in report painter with 0% code (T-code : GR55-> Report group->Report).But,when we go to technical information of this report,it has four standard sap programs,which contains code for this selection screen.It does not even have a modification scope.
    Selection screen of this report contains following parameters:
    Selection values:
    Controlling Ar
    Fiscal Year
    From Period
    To Period
    Plan Version
    Selection Groups:
    Cost Center Group
    Or value(s)
    Cost Element Group
    Or value(s)
    My requirement is to add one more parameter : Purchase oeder in new block:
    Is there any way to achieve it.
    Note: Copying the standard progs into custom prog is not working,i already tried that.
    Please let me know your suggestions,if any one of you came across such requirement before.it is very impoertant for me.
    Thanks in advance,
    Meenakshi

    Hi,
    This report (and all generic reports which are based on the same library) looks on CCSS structure. This structure extracts data from totals tables. Therefore, it's not possible to add the parameter of purchase order, as it's a detail line attribute.
    Regards,
    Eli

  • How to add a parameter to sql query in report

    Hi
    How to add a parameter to sql query in report.
    Parameter is from Visual studio
    example:
    select * from tab1 where dl=parameter???
    I have VS 2008 prof CR XI R2, mysql

    Hello,
    If you have this API available then you can modify the record selection formulae in code to add filtering:
              string recordSelectionFormula = "{T_INV_RPT_ADDR.IND_PROMUS} = {?P_PROMUS?} AND {T_INV_RPT_POINT.INVOICE_DATE} = DATE(2008, 05, 31) AND {T_INV_RPT_POINT.CHECKOUT_DATE} = date(2008, 04,29)";
                CrystalDecisions.CrystalReports.Engine.ReportDocument.RecordSelectionFormula = recordSelectionFormula;
    You have to format and follow the rules as in the Designer so not too much work to get this to work.
    CR for .NET may not have the ability so you will need to upgrade to a Developer version of Crystal Reports.
    Thank you
    Don

  • Add parameter in jasper report query string

    Dear Experts,
    i developed a pdf report using jasperreports . in this reports i used a query string where dont have any parameter, now i want to add a parameter between querystring. how can i do this?? (i know another solution and that is using jrDatasource) in this context i dont want to do this beacuse then i have to do it again from begining.
    here is my XML FILE
    i just want to add a parameter in querysting
    like
    <queryString><![CDATA[SELECT   CH_RECORD_ID,FH_PRODUCT_ID,
    CH_SEQUENCE_NO FROM TABLE_NAE WHERE ID='<![CDATA[$P{CH_FULL_NAME}]]>'can i do this or how can i do this
    <?xml version="1.0" encoding="UTF-8"  ?>
    <!-- Created with iReport - A designer for JasperReports -->
    <!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
    <jasperReport
               name="Statement"
               columnCount="1"
               printOrder="Vertical"
               orientation="Portrait"
               pageWidth="612"
               pageHeight="864"
               columnWidth="612"
               columnSpacing="0"
               leftMargin="0"
               rightMargin="0"
               topMargin="0"
               bottomMargin="0"
               whenNoDataType="BlankPage"
               isTitleNewPage="true"
               isSummaryNewPage="false">
         <queryString><![CDATA[SELECT   CH_RECORD_ID,FH_PRODUCT_ID,
    CH_SEQUENCE_NO,
    CH_CUSTOMER_NO,
    CH_FULL_NAME,
    CH_COMPANY_NAME,
    CH_ADDR1 as ADD1,
    CH_ADDR2 as ADD2,
    CH_CITY,
    CH_STATE,
    CH_CNTRY,
    CH_POSTCODE,
    CH_STMT_DATE,
    CH_STMT_END_DATE,
    CH_PAYDUE_DATE,
    CH_COMBINE_LIMIT,
    CH_BARCODED_COMBINE_LIMIT,
    AH_RECORD_ID,
    AH_SEQUENCE_NO,
    AH_CARDHOLDER_NO,
    AH_CARD_DESC,
    AH_CARD_DESC2,
    AH_BILLING_CURR_CD,
    AH_OUTSTD_BAL,
    AH_OUTSTD_BAL_S,
    AH_MIN_PMT,
    AH_BPON_OPEN,
    AH_BPNT_EARN,
    AH_BPNT_EARN_S,
    AH_BPNT_MGM,
    AH_BPNT_MGM_S,
    AH_BPNT_REDEEM,
    AH_BPNT_REDEEM_S,
    AH_BPNT_EXPIRY_MTH,
    AH_BPNT_EXPIRY_MTH_S,
    AH_BPNT_CLOSE,
    AH_BPNT_EXPIRY,
    AH_BPNT_EXP_DATE,
    AH_REWARDS_IND,
    AH_LINE_LIMIT,
    AH_AVAIL_LIMIT,
    AH_AVAIL_LIMIT_S,
    AH_AVAIL_CASH_LIMIT,
    AH_AVAIL_CASH_LIMIT_S,
    TD_RECORD_ID,
    TD_RECORD_TAG,
    TD_CARDHOLDER_NO,
    TD_CARDHOLDER_NAME,
    TD_BILLING_CURR_CD,
    TD_BAS_SUPP_IND,
    if(TD_TRXN_DATE="00000000",'        ',TD_TRXN_DATE) as TD_TRXN_DATE,
    if(TD_POST_DATE="00000000",'        ',TD_POST_DATE) as TD_POST_DATE ,
    TD_DESCRIPTION,
    TD_AMOUNT,
    TD_AMOUNT_S,
    TD_CARD_LIMIT FROM CUSTOMER_HEADER,
    ACCOUNT_HEADER, TRANSACTION_DETAIL,FILE_HEADER
    WHERE
    CH_RECORD_ID = AH_RECORD_ID AND
    AH_RECORD_ID = TD_RECORD_ID AND
    AH_BILLING_CURR_CD = TD_BILLING_CURR_CD AND
    TD_DESCRIPTION!='SUB TOTAL'
    ORDER BY CH_RECORD_ID,
    AH_BILLING_CURR_CD,
    TD_BILLING_CURR_CD,
    TD_RECORD_TAG, TD_POST_DATE]]></queryString>
         <field name="ADD1" class="java.lang.String"/>
         <field name="ADD2" class="java.lang.String"/>
         <field name="AH_AVAIL_CASH_LIMIT" class="java.lang.String"/>
         <field name="AH_AVAIL_CASH_LIMIT_S" class="java.lang.String"/>
         <field name="AH_AVAIL_LIMIT" class="java.lang.String"/>
         <field name="AH_AVAIL_LIMIT_S" class="java.lang.String"/>
         <field name="AH_BILLING_CURR_CD" class="java.lang.String"/>
         <field name="AH_BPNT_CLOSE" class="java.lang.String"/>
         <field name="AH_BPNT_EARN" class="java.lang.String"/>
         <field name="AH_BPNT_EARN_S" class="java.lang.String"/>
         <field name="AH_BPNT_EXPIRY" class="java.lang.String"/>
         <field name="AH_BPNT_EXPIRY_MTH" class="java.lang.String"/>
         <field name="AH_BPNT_EXPIRY_MTH_S" class="java.lang.String"/>
         <field name="AH_BPNT_EXP_DATE" class="java.lang.String"/>
         <field name="AH_BPNT_MGM" class="java.lang.String"/>
         <field name="AH_BPNT_MGM_S" class="java.lang.String"/>
         <field name="AH_BPNT_REDEEM" class="java.lang.String"/>
         <field name="AH_BPNT_REDEEM_S" class="java.lang.String"/>
         <field name="AH_BPON_OPEN" class="java.lang.String"/>
         <field name="AH_CARDHOLDER_NO" class="java.lang.String"/>
         <field name="AH_CARD_DESC" class="java.lang.String"/>
         <field name="AH_CARD_DESC2" class="java.lang.String"/>
         <field name="AH_LINE_LIMIT" class="java.lang.String"/>
         <field name="AH_MIN_PMT" class="java.lang.String"/>
         <field name="AH_OUTSTD_BAL" class="java.lang.String"/>
         <field name="AH_OUTSTD_BAL_S" class="java.lang.String"/>
         <field name="AH_RECORD_ID" class="java.lang.String"/>
         <field name="AH_REWARDS_IND" class="java.lang.String"/>
         <field name="AH_SEQUENCE_NO" class="java.lang.String"/>
         <field name="CH_BARCODED_COMBINE_LIMIT" class="java.lang.String"/>
         <field name="CH_CITY" class="java.lang.String"/>
         <field name="CH_CNTRY" class="java.lang.String"/>
         <field name="CH_COMBINE_LIMIT" class="java.lang.String"/>
         <field name="CH_COMPANY_NAME" class="java.lang.String"/>
         <field name="CH_CUSTOMER_NO" class="java.lang.String"/>
         <field name="CH_FULL_NAME" class="java.lang.String"/>
         <field name="CH_PAYDUE_DATE" class="java.lang.String"/>
         <field name="CH_POSTCODE" class="java.lang.String"/>
         <field name="CH_RECORD_ID" class="java.lang.String"/>
         <field name="CH_SEQUENCE_NO" class="java.lang.String"/>
         <field name="CH_STATE" class="java.lang.String"/>
         <field name="CH_STMT_DATE" class="java.lang.String"/>
         <field name="CH_STMT_END_DATE" class="java.lang.String"/>
         <field name="FH_PRODUCT_ID" class="java.lang.String"/>
         <field name="TD_AMOUNT" class="java.lang.String"/>
         <field name="TD_AMOUNT_S" class="java.lang.String"/>
         <field name="TD_BAS_SUPP_IND" class="java.lang.String"/>
         <field name="TD_BILLING_CURR_CD" class="java.lang.String"/>
         <field name="TD_CARDHOLDER_NAME" class="java.lang.String"/>
         <field name="TD_CARDHOLDER_NO" class="java.lang.String"/>
         <field name="TD_CARD_LIMIT" class="java.lang.String"/>
         <field name="TD_DESCRIPTION" class="java.lang.String"/>
         <field name="TD_POST_DATE" class="java.lang.String"/>
         <field name="TD_RECORD_ID" class="java.lang.String"/>
         <field name="TD_RECORD_TAG" class="java.lang.String"/>
         <field name="TD_TRXN_DATE" class="java.lang.String"/>
              <group  name="Customer_header" isStartNewColumn="false" isStartNewPage="true" isResetPageNumber="true" isReprintHeaderOnEachPage="true" minHeightToStartNewPage="0" >
                   <groupExpression><![CDATA[$F{CH_RECORD_ID}]]></groupExpression>
                   <groupHeader>
                   <band height="208"  isSplitAllowed="true" >
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="168"
                                  y="84"
                                  width="274"
                                  height="16"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{CH_FULL_NAME}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="168"
                                  y="116"
                                  width="281"
                                  height="14"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{ADD1}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="168"
                                  y="100"
                                  width="179"
                                  height="14"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{CH_COMPANY_NAME}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="239"
                                  y="148"
                                  width="119"
                                  height="14"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{CH_CITY}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="168"
                                  y="148"
                                  width="70"
                                  height="14"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{CH_POSTCODE}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="168"
                                  y="164"
                                  width="201"
                                  height="13"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{CH_CNTRY}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="29"
                                  y="130"
                                  width="90"
                                  height="14"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{CH_STMT_DATE}.substring(6,8)+"."+$F{CH_STMT_DATE}.substring(4,6)+"."+$F{CH_STMT_DATE}.substring(0,4)]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="470"
                                  y="130"
                                  width="81"
                                  height="13"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{CH_PAYDUE_DATE}.substring(6,8)+"."+$F{CH_PAYDUE_DATE}.substring(4,6)+"."+$F{CH_PAYDUE_DATE}.substring(0,4)]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="476"
                                  y="67"
                                  width="46"
                                  height="13"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{FH_PRODUCT_ID}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="168"
                                  y="132"
                                  width="236"
                                  height="14"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{ADD2}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="529"
                                  y="67"
                                  width="28"
                                  height="13"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{CH_RECORD_ID}]]></textFieldExpression>
                        </textField>
                   </band>
                   </groupHeader>
                   <groupFooter>
                   <band height="0"  isSplitAllowed="true" >
                   </band>
                   </groupFooter>
              </group>
              <group  name="Account_Header" isStartNewColumn="false" isStartNewPage="false" isResetPageNumber="true" isReprintHeaderOnEachPage="true" minHeightToStartNewPage="0" >
                   <groupExpression><![CDATA[$F{AH_BILLING_CURR_CD}]]></groupExpression>
                   <groupHeader>
                   <band height="175"  isSplitAllowed="true" >
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="12"
                                  y="16"
                                  width="156"
                                  height="15"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{AH_CARDHOLDER_NO}.substring(0,4)+" "+$F{AH_CARDHOLDER_NO}.substring(4,8)+" "+$F{AH_CARDHOLDER_NO}.substring(8,12)+" "+$F{AH_CARDHOLDER_NO}.substring(12,16)]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="226"
                                  y="16"
                                  width="84"
                                  height="15"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Right" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{AH_OUTSTD_BAL}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="417"
                                  y="16"
                                  width="90"
                                  height="15"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Right" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{AH_MIN_PMT}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="0"
                                  y="95"
                                  width="128"
                                  height="14"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{AH_CARDHOLDER_NO}.substring(0,4)+" "+$F{AH_CARDHOLDER_NO}.substring(4,8)+" "+$F{AH_CARDHOLDER_NO}.substring(8,12)+" "+$F{AH_CARDHOLDER_NO}.substring(12,16)]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="191"
                                  y="95"
                                  width="216"
                                  height="14"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{CH_FULL_NAME}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="517"
                                  y="95"
                                  width="35"
                                  height="14"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="9"
                                  y="134"
                                  width="72"
                                  height="15"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{CH_STMT_DATE}.substring(6,8)+"."+$F{CH_STMT_DATE}.substring(4,6)+"."+$F{CH_STMT_DATE}.substring(0,4)]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="123"
                                  y="135"
                                  width="69"
                                  height="15"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{CH_PAYDUE_DATE}.substring(6,8)+"."+$F{CH_PAYDUE_DATE}.substring(4,6)+"."+$F{CH_PAYDUE_DATE}.substring(0,4)]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="201"
                                  y="135"
                                  width="82"
                                  height="15"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Right" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{AH_LINE_LIMIT}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="332"
                                  y="135"
                                  width="88"
                                  height="15"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Right" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{AH_AVAIL_LIMIT}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="461"
                                  y="136"
                                  width="79"
                                  height="15"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Right" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{AH_AVAIL_CASH_LIMIT}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="284"
                                  y="135"
                                  width="44"
                                  height="15"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA["("+$F{AH_BILLING_CURR_CD}+")"]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="421"
                                  y="135"
                                  width="30"
                                  height="15"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{AH_AVAIL_LIMIT_S}.equals("-")?"CR":""]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="541"
                                  y="136"
                                  width="22"
                                  height="15"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{AH_AVAIL_CASH_LIMIT_S}.equals("-")?"CR":""]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" >                         <reportElement
                                  mode="Opaque"
                                  x="337"
                                  y="16"
                                  width="19"
                                  height="15"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  positionType="Float"
                                  isPrintRepeatedValues="true"
                                  isRemoveLineWhenBlank="false"
                                  isPrintInFirstWholeBand="false"
                                  isPrintWhenDetailOverflows="false"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
                                  <font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression   class="java.lang.String"><![CDATA[$F{AH_OUTSTD_BAL_S}.equals("-")?"CR":""]]></textFieldExpression>
                        </textField>
                   </band>
                   </groupHeader>
                   <groupFooter>
                   <band height="0"  isSplitAllowed="true" >
                   </band>
                   </groupFooter>
              </group>
              <background>
                   <band height="0"  isSplitAllowed="true" >
                   </band>
              </background>
              <                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    HI.
    Try using Ireport for pass the parameters and edit the query easier.

  • How to pass an integer parameter from main report to subreport?

    I don't understand why this isn't working, but I have a main report with parameters:
    StartDate=datetime,
    EndDate=datetime,
    Program=text,
    ChartType=text.
    In this RDL, I have a chart with Action configured on this bar chart series.  The Action expression is:
    ="javascript:void(window.open('http://evolvssrs/ReportServer/Pages/ReportViewer.aspx?%2fIncoming%2fCensus+Report+Modifier&rs:Command=Render&rc:Parameters=true&StartDate=" & Parameters!StartDate.Value & "&EndDate=" & Parameters!EndDate.Value & "&Program=" & Fields!program_info.Value & "&ChartType=" & Fields!ChartType.Value & "','_blank'))"
    (program_info is a FIELD uniqueidentifier value matching the value of the Program parameter).
    So for this subreport, I have tried ChartType parameter as both integer and text, but each time i click on a bar from the main report, it opens a new window with ChartType field empty.  But the other 3 parameters: Start Date, End Date, and Program are
    all populated.  Why is it doing this and how can I fix please?
    Ryan D

    Hi Ryan,
    If I understand correctly, you have got empty in the ChartType parameter text box when you enable go to URL action.
    In my test, if the value we pass to the subreport which is not include in the parameter available values, we would get the empty text box. Please check if it has the specific ChartType values in the subreport parameter available values.
    Alternatively, please check if it has pass value to the subreport. We can add a parameter without available values and default values to check if it is can accept the Field ChartType Value from the main report.
    Hope this helps.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • Passing single/multiple values to stored proc parameter from crystal report

    I tried below solution posted on this forum to pass either a single value or multi-value to a sql server stored procedure parameter (varchar datatype) from crystal report XI R2.
    In my crystal report , I am displaying all the available parameter values to the user  and the user will select either a single value or multi value.
    This worked when I select single value and when I say show sql query in my subreport  I see the following:
    {CALL "XYZ"."dbo"."storedprocedurename";1('Product  1')}
    But this did not worked when I selected multiple values and when I say show sql query in my subreport  I see the following:
    {CALL "XYZ"."dbo"."storedprocedurename";1('Product 1,Product 2')}
    I think it might work if it is as below:*
    For multiple values:
    {CALL "xyz"."dbo"."storedprocedurename";1('Product 1', 'Product 2')}
    Please advise.
    Solution Posted on this forum is as follows:
    Hi,
    As you must be aware of that a crystal report created of a stored procedure will allow only a single value for inserting a multiple value as a parameter in your report and pass those values to your stored procedure please follow the below work around which will be helpful for you.
    Symptom
    In Crystal Reports, you want to pass a multi-value parameter to a stored procedure. The problem with doing so is that Crystal Reports considers the multi-value parameter to be an array.
    How can you pass a multi-value parameter to a stored procedure?
    Resolution
    Here are the steps to pass a multi-value parameter to a stored procedure:
    1. Create a Crystal report, and add a multi-value parameter.
    2. Since the multi-value parameter is treated as an array, create a formula that uses the JOIN function. Create a formula as below:
    //Formula: @JoinFormula
    Join ({?Multi-value parameter array},";")
    ====================
    NOTE:
    In the formula above, a semi-colon (";") is the delimiter.
    ====================
    3. Within the main report, create a subreport based on the stored procedure, and include the parameter to be populated with the multi-value list.
    4. Link the Join formula in the main report to the stored procedure parameter in the subreport.
    Doing so passes a multi-value parameter to the stored procedure.
    Regards,
    Vinay

    Hi Vinay,
    First you need to make sure the stored procedure accepts multiple values in the fashion 'a','b','c'.
    Then, create this formula in the Main Report:
    numbervar i;
    stringvar s;
    for i:= 1 to ubound({?Parameter}) do
        s := s + "'" + {?Parameter}<i> + "'" + ",";
    left(s,len(s)-1);
    Link this formula to the sub-report's parameter.
    Hope this helps!
    -Abhilash

  • How to pass the multiplevalue parameter into SSRS by data driven subscription

    Hi All,
    I create a table and show it in the SSRS by table
    EmID Name
    AA1, A
    BB1, C
    CC1, E
    And set one parameter EmID for the user to filter the record and that Parameter Accept multiple values and the type is text.
    And I create a another table for the data-driven subscription to send the report to user by email.
    EmailTitle EmID  EmailComment
    TestEmail  AA1,BB1,CC1    TestComment
    And I set the subscription and set the EmID parameter is from EmID column, then test the subscription, it failed...
    However, when I only put AA1 into the table, then the subscription works well
    EmailTitle EmID  EmailComment
    TestEmail  AA1    TestComment
    So How I can config the above table to support subscription?
    Thanks.

    Hi Bimaster,
    When specify a column for the parameter value in a data-driven subscription, it will be regarded as a single value. So when specify the value "AA1,BB1,CC1" as the parameter value, the subscription will fail.
    The work around for this issue clear the "Allow multiple values" for the report parameter, and then change the filter
    From
    Expression:[ParameterName]
    Operator   :In
    Value         :[@ParameterName]
    To
    Expression:[ParameterName]
    Operator   :In
    Value         :Split(Parameters!ParameterName.Value,",")
    In this case, we can specify a value like "AA1,BB1,CC1" from database to the data-driven subscription. I have tested it on my local host environment, it works fine.
    Regards
    Charlie Liao
    TechNet Community Support

  • Passing Multivalued parameter to sub report in SSRS

    Hi Team,
    I tried passing multi valued parameter to sub report in SSRS but the report is blank.
    Rgds,
    Shree

    Hi Shree,
    As per my understanding, the issue is caused by the multiple-value parameters are not passed from the main report to the subreport correctly. Please refer to the steps below to check whether you configure the subreport parameter settings correctly:
    Drag a Subreport control from toolbox to design surface.
    Right-click the Subreport to open the Subreport Properties dialog box, then select the correct report as subreport.
    Click Parameters in the left pane.
    Add parameters as below (Parameter1 is a single-value parameter, Parameter2 is a multi-value parameter in subreport ):
    Name: Parameter1              Value: [@ReportParameter1]
    Name: Parameter2              Value: =Split(join(Parameters!ReportParameter2.Value,","),",")
    Please also directly select or type the same values in subreport to check whether the subreport works well with those parameter values.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Passing parameter to a report

    i need to add a parameter to report. please help me how to do that?
    Please add a parameter to the attached report that will allow the user to select u201CSummaryu201D or u201CDetailu201D.  Entitle the parameter: Report Type
    If the user selects u201CDetailu201D, it will show all sections.
    If the user selects u201CSummaryu201D, the parameter will suppress the GH1b subreport: Diamond Work Request Exceeding 600 hrs.rpt, and will suppress GH1c subreport: UT Work Request History.rpt
    For the 2 existing parameters, you can select from the Management Level: SVP and then select 31734

    Hi
    Try this....from field explorer you can go into paramaters. You can add a string parameter that allows for multiple values, then go in and set the default options.  Once you have your parameter go into the section expert.  Select the section you would like to hide and click on the formula on the right.  Set your formula to true when your Paramater = "Summary" else false.  You need to do this for all sections you would like to hide.  Good luck! Also the help in crystal reports is pretty good at helping you locate the different places I mentioned above. Let me know if this works for you!

  • Showing description of a parameter in the report

    Hi all,
    I have a requirement where I need to show the description of a parameter in the report.
    For eg:
    CODE              DES
    AF          Associated Feature
    BG          Background
    BGA          Background Ambient
    BCA          Bkgrd Comm Ambient
    BC          Bridge/Cue
    CJ          Combination M Jingle
    CS          Combination M Promo
    CT          Combination M Theme  u2026 and so on.
    The parameter is on the DB field u2018CODEu2019. Here when the user selects the parameter value u2018AFu2019 the report should show the description u2018Associated Featureu2019 in the Report Header.
    I am using stored procedures in the report and lookups(coming from a package) for the drop down values of parameters.
    I thought of creating arrays in the formula editor but I could not find a way to pass values to an array variable from a field. (I have to enter all the values in array manually to create it. But we have approx 50 reports which have CODES of more than 40. So itu2019ll be not feasible).
    Is there any way to achieve this requirement?
    Thanks for your help in advance.

    Try to use add command and write the query like this
    select code,description from table where code={?Parameter}
    Now link this command with your stored peocedure using left outer join and place the field in the report header to get the description.
    Regards,
    Raghavendra

  • How to use Dynamic cascading parameter in crystal Report XI ?

    Hi,
    I want to use Dynamic cascading parameter in crystal Report XI which is to be viewed through the infoview without using the Business View.Is it possible?
    I could implemented Dynamic cascading parameter using the CR XI developer without using Business View, but cannot view the report when uploaded it to BOXI, through infoview.
    Please suggest..
    Thanks in advance..
    Rajneesh

    In the crystal reports field explorer>right click on parameter field>create new-->name the parameter field and select the type as dynamic. Now in the value field click the row and add the database field also add another field below that by clicking on the next row so..on. The order should be like this parent field first and then child field next...... Also click on the last column to add parmater for each level.
    Regards,
    Raghavendra

  • How to use the region parameter of main report for subreport chart titles?

    I am using Crystal Reports 11.
    I create 1 main report with 10 sub-reports that contain cross-tabs & charts. The main report has a parameter regarding 3 different areas: region1, region2, and region3.
    I use the method of adding the u2018regionu2019 parameter of main report to the selection formula of the sub-reports. So, I can select 'region' from main report to controll outputs in sub-reports by region.
    I use formulas for chart titles, e.g.:
    Select {Product Code}
    Case 'a111':
      u2018Region1 u2013 a111 Counts'
    Case u2018b222u2019:
      u2018Region1 u2013 b222 Counts'
    u2026
    u2026
    Default:
    u2026
    Since I pass the u2018regionu2019 parameter of main report to sub-reports, I have to change chart titles dynamically based on the region I select.
    How can I use the region parameter from main report in the formulas to get chart titles dynamically?
    Thank you in advance.

    Thank you.
    I am not using Chart Title with "Chart Expert".
    I am using a formula for chart titles, e.g.:
    Select {Product Code}
    Case 'a111':
      u2018Region1 u2013 a111 Counts'
    Case u2018b222u2019:
      u2018Region1 u2013 b222 Counts'
    u2026
    u2026
    Default:
    u2026
    I drag this formula above the charts and it looks like a dynamic title. So, for product a111, the chart title would be "Region1 u2013 a111 Counts"; for product b222, the chart title would be "Region1 u2013 b222" Counts; and so on ...
    Because I pass the region parameter from master report to subreport, I want to change the region part of the chart titles dynamically.
    For example,
    when select Region1, the chart titles should be: "Region1 u2013 a111 Counts"; "Region1 u2013 b222"; ...
    when select Region2, the chart titles should be: "Region2 u2013 a111 Counts"; "Region2 u2013 b222"; ...
    I want to add the region parameter into the tiltle formula.
    How should I do?

  • Pass parameter to ssrs report in performance point webpart from textbox text

    How to pass parameter to ssrs report  in performance point webpart from textbox text
    Please help me to solve this ...
    Bikky Kumar

    Edit your SharePoint page and add new text filter web part.
    Then pass the text filter value to your performance point report using connections. Your report should include at least one parameter to get the value. More over you can set default value in text filter.

Maybe you are looking for

  • Driver not found Windows XP Blackberry 8330

    I have installed and uninstalled the Desktop Manager numerous times.  When I attach phone thru USB cord it won't detect driver.  I am running this on Windows XP, I only want to be able to transfer music files from computer to the phone.  I have a 2nd

  • Hard drive disappeared?

    I ran the disk check utility because my hard drive was making strange noises and it told me there were problems with it and I need to get my OS install disk and run the disk utility from there. I put the disk in, restart and boot from disk, go to dis

  • Installing Photoshop Elements 13

    I downloaded the student version of Photoshop Elements 13, and I am unable to install it.  When I click on the application in the zip, I get the following error: This is what I see in the file folder I'm on a PC, Windows 7.  I appreciate the help!

  • Set paper margins size when printing ...

    Hi, I'm using the following code to print an image from a component :      Settings pageSettings = new Settings();      pageSettings.setXScaleAsFloat( 0.28f );      pageSettings.setYScaleAsFloat( 0.28f );      PagePrintable printable = new PagePrinta

  • Mail attachments in lion not forwarding

    Hi Everyone! It seems when I go to forward and email containing an attachment they are being stripped out and not forwarding with the mail ( I can see the attachment is not there) Is there a setting for this? or how can I fix this issue. I want all m