Concatenate text to field value in report header

I'm trying to concatenate text to field value in a textbox in the report header but am getting an error.  Here's how I'm doing it:
=First(Fields!Pp_Name.Value, "dsProspect") & "Prospect"
and the error says the report definition is invalid.  An unexpected error occurred while compiling expressions.  Native compiler return value '[BC30179] class 'Textbox.....
any idea why this wont compile?
Thank you.

Hi moondaddy,
Generally, the error message always occurred when there are two distinct text boxes with the same name that only differ in their name by casing in report. When Reporting Services generates VB code for these textboxes during report publishing, the compilation
fails because VB class names are considered case-insensitive.
So this issue is not related to the expression (the format is correct) you post, it related to the Textbox name that the error message said. In order to fix this issue, please rename one of the textboxes.
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
If you have any feedback on our support, please click here.
Katherine Xiong
TechNet Community Support

Similar Messages

  • Tool Tip Text for field values in ALV report

    Hi,
    How to get the tool tip text for the field values in ALV report.
    Thanks & Regards,
    Pallavi.

    Hi,
    In fieldcatalog specify the TOOLTIP.
    <b>
    LVC_S_FCAT-TOOLTIP
    </b>
    In this speicfyteh tooltip you want.
    Then append this to the fieldcatalog.
    Hope this solves ur problem.

  • FIELD VALUE IN ALV HEADER

    Hi friends,
    I make one header alv ok I want and take one variable count in my program so I want to display its value in ALV HEADER
    Total Target Qty:
    Total EMP. Efficiency 
    Total Machine Effi. 
    I take may header like this and pass thre text here.ok Now I want to display value of this three.
    Total Trget Qty: 2.23 like that.
    CLEAR st_line.
      st_line-typ = 'S'.
      CONCATENATE 'Total Target Qty: '  count     ' ' INTO st_line-info.
      APPEND st_line TO t_list_top_of_page.
    So I took like this in header count is my variable in which I take value.
    So how can we pass the value in ALV Header please tell me.
    its urgent so.
    Thnaks in Advance.
    Prashant.

    HI DHWANI,
    *& Report  ZPP_RE_EMP_DETAILS
    *& This Report is used to check the Employee Performance And Used Machine Quantity
    *& Rqueirement By Santhosh
    *& Developed By Prashant On Date 01.02.2008
    *&  Created By: Prashant Brahmbhatt
    *&  Creation Date: 20080201
    *&  Module: PP (Production & Plannig)
    *&  Changed By         Changed Date        Reason
    REPORT  zpp_re_emp_details.
    TABLES:zpplan.
    TYPE-POOLS:slis.
    DATA:BEGIN OF itab OCCURS 0,
         zdate LIKE zpplan-zdate,
         werks LIKE zpplan-werks,
         mname LIKE zpplan-mname,
         shftin LIKE zpplan-shftin,
         iserh LIKE zpplan-iserh,
         quaty LIKE zpplan-quaty,
         plan_qty LIKE zpplan-plan_qty,
         act_prod LIKE zpplan-act_prod,
         temp TYPE c,
         tar_qty(10) TYPE c,
         ach_qty(10) TYPE c,
         mch_eff(10) TYPE c,
        a(10) TYPE c,
         END OF itab.
    DATA:BEGIN OF temp OCCURS 0,
         zdate LIKE zpplan-zdate,
         werks LIKE zpplan-werks,
         mname LIKE zpplan-mname,
         shftin LIKE zpplan-shftin,
         iserh LIKE zpplan-iserh,
         quaty LIKE zpplan-quaty,
         plan_qty LIKE zpplan-plan_qty,
         act_prod LIKE zpplan-act_prod,
         temp TYPE c,
         tar_qty(10) TYPE c,
         ach_qty(10) TYPE c,
         mch_eff(10) TYPE c,
        a(10) TYPE c,
         END OF temp.
    DATA:BEGIN OF itab_t OCCURS 0,
         zdate LIKE zpplan-zdate,
         werks LIKE zpplan-werks,
         mname LIKE zpplan-mname,
         shftin LIKE zpplan-shftin,
         iserh LIKE zpplan-iserh,
         quaty LIKE zpplan-quaty,
         plan_qty LIKE zpplan-plan_qty,
         act_prod LIKE zpplan-act_prod,
         temp TYPE c,
         tar_qty(10) TYPE c,
         ach_qty(10) TYPE c,
         mch_eff(10) TYPE c,
        a(10) TYPE c,
         END OF itab_t.
    DATA:BEGIN OF itab1 OCCURS 0,
         zdate LIKE zpplan-zdate,
         werks LIKE zpplan-werks,
         mname LIKE zpplan-mname,
         shftin LIKE zpplan-shftin,
         act_prod LIKE zpplan-act_prod,
         quaty LIKE zpplan-quaty,
         planned LIKE zpplan-planned,
         iserh LIKE zpplan-iserh,
         temp TYPE c,
         tar_qty TYPE p DECIMALS 2,
         ach_qty TYPE p DECIMALS 2,
         mch_eff TYPE p DECIMALS 2,
         END OF itab1.
    DATA: wa LIKE  itab1.
    DATA:BEGIN OF itab2 OCCURS 0,
         zdate LIKE zpplan-zdate,
         werks LIKE zpplan-werks,
         mname LIKE zpplan-mname,
         shftin LIKE zpplan-shftin,
         act_prod LIKE zpplan-act_prod,
         quaty LIKE zpplan-quaty,
         planned LIKE zpplan-planned,
         iserh LIKE zpplan-iserh,
         temp TYPE c,
         tar_qty(10) TYPE p DECIMALS 2,
         ach_qty(10) TYPE p DECIMALS 2,
         mch_eff(10) TYPE p DECIMALS 2,
         count(10) TYPE c,
         END OF itab2.
    DATA: a(10) TYPE c,
          b(10) TYPE c,
          count(10) TYPE c,
          count1(10) TYPE c.
         c(2) TYPE p DECIMALS 2.
    DATA:t_fcat TYPE slis_t_fieldcat_alv,
         t_events TYPE slis_t_event,
         t_list_top_of_page TYPE slis_t_listheader,
         t_list_end_of_page TYPE slis_t_listheader.
    CONSTANTS:c_formname_top_of_page TYPE slis_formname VALUE 'TOP_OF_PAGE'.
    CONSTANTS:c_formname_end_of_page TYPE slis_formname VALUE 'END_OF_PAGE'.
    DATA: st_line TYPE slis_listheader.
                  SELECTION-SCREEN
    SELECTION-SCREEN:BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
    *PARAMETERS:shftin LIKE zpplan-shftin.
    SELECT-OPTIONS:date FOR zpplan-zdate,
                   shftin FOR zpplan-shftin,
                   werks FOR zpplan-werks.
    SELECTION-SCREEN:END OF BLOCK blk1.
                   ALV CALL
    INITIALIZATION.
      PERFORM build_fieldcatalog USING t_fcat .
      PERFORM event_call.
      PERFORM head_built USING t_events.
    START-OF-SELECTION.
      PERFORM data_retrieval.
      PERFORM display_alv.
    *&      Form  build_fieldcatalog
          text
         -->P_T_FCAT  text
    FORM build_fieldcatalog  USING temp_fcat TYPE slis_t_fieldcat_alv.
      DATA:w_fcat TYPE slis_fieldcat_alv.
      w_fcat-tabname = 'ITAB2'.
      w_fcat-fieldname = 'MNAME'.
      w_fcat-seltext_m = 'Machine Name'.
      APPEND w_fcat TO temp_fcat.
      CLEAR w_fcat.
      w_fcat-tabname = 'ITAB2'.
      w_fcat-fieldname = 'SHFTIN'.
      w_fcat-seltext_m = 'Emp No'.
      APPEND w_fcat TO temp_fcat.
      CLEAR w_fcat.
      w_fcat-tabname = 'ITAB2'.
      w_fcat-fieldname = 'ZDATE'.
      w_fcat-seltext_m = 'Pos Date'.
      APPEND w_fcat TO temp_fcat.
      CLEAR w_fcat.
    w_fcat-tabname = 'ITAB2'.
    w_fcat-fieldname = 'QUATY'.
    w_fcat-seltext_m = 'Quantity'.
    APPEND w_fcat TO temp_fcat.
    CLEAR w_fcat.
      w_fcat-tabname = 'ITAB2'.
      w_fcat-fieldname = 'ACT_PROD'.
      w_fcat-seltext_m = 'Actual Quantity'.
      APPEND w_fcat TO temp_fcat.
      CLEAR w_fcat.
      w_fcat-tabname = 'ITAB2'.
      w_fcat-fieldname = 'ISERH'.
      w_fcat-seltext_m = 'Down Time'.
      APPEND w_fcat TO temp_fcat.
      CLEAR w_fcat.
      w_fcat-tabname = 'ITAB2'.
      w_fcat-fieldname = 'TAR_QTY'.
      w_fcat-seltext_m = 'Target Qty.'.
      APPEND w_fcat TO temp_fcat.
      CLEAR w_fcat.
      w_fcat-tabname = 'ITAB2'.
      w_fcat-fieldname = 'ACH_QTY'.
      w_fcat-seltext_m = 'EMP Effec.'.
      APPEND w_fcat TO temp_fcat.
      CLEAR w_fcat.
      w_fcat-tabname = 'ITAB2'.
      w_fcat-fieldname = 'MCH_EFF'.
      w_fcat-seltext_m = 'Machine Effec.'.
      APPEND w_fcat TO temp_fcat.
      CLEAR w_fcat.
    w_fcat-tabname = 'ITAB2'.
    w_fcat-fieldname = 'COUNT'.
    w_fcat-seltext_m = 'Machine Effec.'.
    APPEND w_fcat TO temp_fcat.
    CLEAR w_fcat.
    ENDFORM.                    " build_fieldcatalog
    *&      Form  event_call
          text
    -->  p1        text
    <--  p2        text
    FORM event_call .
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
       EXPORTING
         i_list_type           = 0
       IMPORTING
         et_events             = t_events
      EXCEPTIONS
        LIST_TYPE_WRONG       = 1
        OTHERS                = 2
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " event_call
    *&      Form  data_retrieval
          text
    -->  p1        text
    <--  p2        text
    FORM data_retrieval .
      IF shftin <> ''.
        SELECT zdate werks mname shftin  INTO CORRESPONDING FIELDS OF TABLE
         temp FROM zpplan
         WHERE shftin IN shftin
         AND zdate IN date
         AND werks IN werks.
      ELSE.
        SELECT zdate werks mname INTO CORRESPONDING FIELDS OF TABLE
           temp FROM zpplan
           WHERE  zdate IN date
           AND werks IN werks.
      ENDIF.
      SORT temp BY mname zdate shftin.
      DELETE ADJACENT DUPLICATES FROM temp.
      SORT temp BY mname shftin zdate.
      DELETE ADJACENT DUPLICATES FROM temp.
      APPEND temp.
      LOOP AT temp.
        SELECT zdate werks mname shftin act_prod quaty iserh   FROM zpplan INTO CORRESPONDING FIELDS OF TABLE itab_t
        WHERE mname = temp-mname
        AND zdate = temp-zdate
        AND werks = temp-werks.
        LOOP AT itab_t.
          MOVE-CORRESPONDING itab_t TO itab.
          APPEND itab.
        ENDLOOP.
      ENDLOOP.
      *******************************************8
    SELECT zdate werks mname shftin act_prod quaty iserh   FROM zpplan INTO CORRESPONDING FIELDS OF TABLE itab
         FOR ALL ENTRIES IN temp
         WHERE zdate = temp-zdate AND
               werks = temp-werks
              AND mname = temp-mname.
    SELECT zdate werks mname shftin act_prod quaty iserh   FROM zpplan INTO CORRESPONDING FIELDS OF TABLE itab
       WHERE zdate IN date AND
             werks IN werks AND
    shftin = shftin.
      SORT itab BY mname zdate.
    DELETE ADJACENT DUPLICATES FROM itab.
      LOOP AT itab.
        MOVE-CORRESPONDING itab TO itab1.
        COLLECT itab1.
      ENDLOOP.
      LOOP AT itab1.
        itab1-tar_qty = itab1-tar_qty + ( itab1-quaty / 3 ).
        IF  ( itab1-tar_qty NE 0 ).
          itab1-ach_qty = ( itab1-ach_qty +  itab1-act_prod / itab1-tar_qty ) * 100.
        ELSE.
          itab1-ach_qty = 0 * 100.
        ENDIF.
        itab1-mch_eff = ( ( 8 - itab1-iserh ) / 8 ) * 100.
        MODIFY itab1 TRANSPORTING tar_qty ach_qty mch_eff.
      ENDLOOP.
      LOOP AT itab1.
        READ TABLE itab1 INDEX 1 INTO wa.
        IF itab1-mname = wa-mname.
          itab1-zdate = wa-zdate.
          itab2-shftin = itab1-shftin.
          itab2-mname = itab1-mname.
          itab2-zdate = itab1-zdate.
               itab2-quaty = itab2-quaty + itab1-quaty.     
               itab2-act_prod = itab2-act_prod + itab1-act_prod.
               itab2-iserh = itab2-iserh + itab1-iserh.
               itab2-tar_qty = itab2-tar_qty + itab1-tar_qty.
               itab2-ach_qty = itab2-ach_qty + itab1-ach_qty.
          itab2-mch_eff = itab2-mch_eff + itab1-mch_eff.
        ELSE.
               APPEND itab2.
               CLEAR itab2.
               MOVE-CORRESPONDING itab1 TO wa.
          itab2-shftin = itab1-shftin.
          itab2-mname = itab1-mname.
          itab2-zdate = itab1-zdate.
          itab2-quaty = itab2-quaty + itab1-quaty.     
          itab2-act_prod = itab2-act_prod + itab1-act_prod.
               itab2-iserh = itab2-iserh + itab1-iserh.
               itab2-tar_qty = itab2-tar_qty + itab1-tar_qty.
               itab2-ach_qty = itab2-ach_qty + itab1-ach_qty.
               itab2-mch_eff = itab2-mch_eff + itab1-mch_eff.
        ENDIF.
      ENDLOOP.
      APPEND itab2.
      LOOP AT itab2.
        IF  ( itab2-tar_qty NE 0 ).
          itab2-ach_qty = ( itab2-ach_qty +  itab2-act_prod / itab2-tar_qty(10) ) * 100.
        ELSE.
          itab2-ach_qty = 0 * 100.
        ENDIF.
        itab2-mch_eff = ( ( 8 - itab2-iserh ) / 8 ) * 100.
        MODIFY itab2 TRANSPORTING tar_qty ach_qty mch_eff.
      ENDLOOP.
    APPEND itab2.
      LOOP AT itab2.
       count = sy-tfill.
        a = a + itab2-tar_qty.
        b = b + itab2-ach_qty.
      ENDLOOP.
      CLEAR itab2.
      itab2-tar_qty = a.
      itab2-ach_qty = b.
      APPEND itab2.
      CLEAR itab2.
      count = a / sy-tfill.
      count1 = b / sy-tfill.
      itab2-tar_qty = count.
      itab2-ach_qty = count1.
    itab2-tar_qty = count.
      APPEND itab2.
    ENDFORM.                    " data_retrieval
    *&      Form  head_built
          text
         -->P_T_EVE  text
    FORM head_built  USING    p_t_eve TYPE slis_t_event.
    count = a / sy-tfill.
      DATA: ls_event TYPE slis_alv_event.
      REFRESH t_list_top_of_page.
      READ TABLE p_t_eve WITH KEY name = slis_ev_top_of_page INTO ls_event.
      IF sy-subrc = 0.
        MOVE c_formname_top_of_page TO ls_event-form.
        MODIFY p_t_eve FROM ls_event   INDEX sy-tabix.
      ENDIF.
       CLEAR st_line.
        st_line-typ = 'S'.
        st_line-key = 'Total Target Qty: '.
        st_line-info = count.
        APPEND st_line TO t_list_top_of_page.
    CLEAR st_line.
    st_line-typ = 'S'.
    st_line-info = count.
    CONCATENATE 'Avg Target Qty.'  count  ' ' INTO st_line-info.
    APPEND st_line TO t_list_top_of_page.
      CLEAR st_line.
        st_line-typ = 'S'.
        st_line-key = 'Avg.EMP Efficiency: '.
        st_line-info = count1.
        APPEND st_line TO t_list_top_of_page.
      CLEAR st_line.
        st_line-typ = 'S'.
        st_line-key = 'Avg. Machine Efficincy: '.
       st_line-info = count.
        APPEND st_line TO t_list_top_of_page.
    REFRESH t_list_end_of_page.
    READ TABLE p_t_eve WITH KEY name =  slis_ev_end_of_list INTO ls_event.
    IF sy-subrc = 0.
       MOVE c_formname_end_of_page TO ls_event-form.
       MODIFY p_t_eve FROM ls_event INDEX sy-tabix.
    ENDIF.
    CLEAR st_line.
    st_line-typ = 'S'.
    CONCATENATE 'END OF PAGE' ' ' INTO st_line-info.
    APPEND st_line TO t_list_end_of_page.
    ENDFORM.                    " head_built
    *&      Form  top-of-page
          text
    FORM top_of_page.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = t_list_top_of_page
        I_LOGO                   =
        I_END_OF_LIST_GRID       =
        I_ALV_FORM               =
    ENDFORM.                    "top-of-page
    *&      Form  display_alv
          text
    -->  p1        text
    <--  p2        text
    FORM display_alv .
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
         i_callback_program                = 'ZPP_RE_EMP_DETAILS'
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = ' '
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
       i_background_id                   = 'ALV_BACKGROUND'
       i_grid_title                      = 'EMP Information'
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         =
         it_fieldcat                       = t_fcat
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
      I_SAVE                            = ' '
      IS_VARIANT                        =
         it_events                         = t_events
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      I_HTML_HEIGHT_TOP                 = 0
      I_HTML_HEIGHT_END                 = 0
      IT_ALV_GRAPHICS                   =
      IT_HYPERLINK                      =
      IT_ADD_FIELDCAT                   =
      IT_EXCEPT_QINFO                   =
      IR_SALV_FULLSCREEN_ADAPTER        =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
        TABLES
          t_outtab                          = itab2
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " display_alv

  • Referencing Field Values in Region Heading

    Is there a simple way to refer to more than one field value in a region heading? I have added the '&P1_YEAR.' to the end of a region name and it will display the contents of that field in the heading.
    How can you display more than one filed in the heading. For example if you wanted to add 'Year' and 'Model' to the heading 'Vehicle' so that it displayed
    'Vehicle Ford 2008'
    Kind Regards,
    Steve Welch

    Steve:
    You can simply concatenate the fields whose values you want displayed
    &P1_YEAR. &P1_MODEL.
    varad

  • Arithmatic operations on field values jasper reports

    Hi,
    I want to calculate some percentages in the report based on some Field values present in the report. To achieve this I need to make some divisions and multiplications, is it possible to divide or multiply two variables while filling the report using jasper.
    Please help me...
    Thnks
    Veera.

    jaumev wrote:
    I have exactly th e same problem.
    Have someone solved it?
    Thanks in advancePlease, don't resurrect old threads. Start a new thread if you have a specific question. I'm locking this one.
    Kaj

  • In BO 4.0,how to convert field values into column heading.

    Currently Product Codes are represented in "Code" and "Value" fields.
    Please retain the code and value fields, so that if the user adds another code and immediately needs to report on them they can through this functionality.
    Current:
    Fund Code
    Code
    Value
    ABC1
    Embassy Series
    XYZ123
    ABC1
    FMI
    19837
    ABC1
    Gladis Short Name
    FUJHAT
    Required:
    Fund Code
    Embassy Series
    FMI
    Gladis Short Name
    ABC1
    XYZ123
    19837
    FUJHAT

    Hi Archana,
    I think you need to use a Cross Tab on your report but also you will need to apply Sections on the Fund Code dimension.
    ie
    Section 1 - ABC1
    Crosstab
    Section 2 - ABC2
    Crosstab
    Section 3 - ABC3
    Crosstab
    With regards
    Gill

  • Auto-fill text box field values based on pulldown selection

    Trying to fill in address, city, state, zip text fields based on option selected in a select form field. The following code works great in Internet Explorer, but in Chrome or Firefox, after making selection, text fields are populated with the word "undefined."
    I've found a PHP version of Jquery script here that would probabably fit the bill.
    http://stackoverflow.com/questions/3657127/jquery-populate-text-input-from-table-based-on- select-value
    Maybe someone has a CF version they could share?
    Thanks in advance to any who can point me to a solution for this code, or a better way to accomplish my need.
    <!--- Destinations with auto-fill of address, city, etc. --->
    <script type="text/javascript">
          function selectAddress(list) {
                // assume first item is empty
                if (list.selectedIndex > 0) {
                      var locationID = list.options[list.selectedIndex].value;
                      var locationAddress = list.options[list.selectedIndex].locationAddress;
                      var locationCity = list.options[list.selectedIndex].locationCity;
                  var locationState = list.options[list.selectedIndex].locationState;
                  var locationZip = list.options[list.selectedIndex].locationZip;
                  document.getElementById('locationID').value = locationID;
                      document.getElementById('locationAddress').value = locationAddress;
                      document.getElementById('locationCity').value = locationCity;
                  document.getElementById('locationState').value = locationState;
                  document.getElementById('locationZip').value = locationZip;
    </script>
    <tr>
    <td align="right" bgcolor="#FFFFFF" valign="top">Name of Destination</td>
    <td align="left" bgcolor="#FFFFFF" valign="top">
       <select name="locationID" onChange="selectAddress(this)" class="smallforms">
                 <option value="">SELECT DESTINATION ››››››››››</option>
                 <cfoutput query="allLocations">
                       <option value="#locationName#" locationAddress="#allLocations.locationAddress#" locationCity="#allLocations.locationCity#" locationState="#allLocations.locationState#" locationZip="#allLocations.locationZip#">#locationName#</option>
                 </cfoutput>
            </select> 
          Other: <cfinput name="destinationNameOther" type="text" class="smallforms" size="75">
          <br />
           <input id="locationID" name="locationID" type="hidden"><br>
             Address:    <input class="smallforms" id="locationAddress"    name="locationAddress"    type="text" size="30"> 
             City:       <input class="smallforms" id="locationCity"    name="locationCity"    type="text" size="20"> 
             State:       <input class="smallforms" id="locationState"    name="locationState"    type="text" size="2"> 
             Zip:       <input class="smallforms" id="locationZip"       name="locationZip"       type="text" size="8"><br />
    <br />
    </td></tr>

    Thanks a million for the help Steve, the array is being created in source as follows: 
    <script type="text/javascript">
    var addresses = [
       "locationName": "Airport Park School",
       "locationAddress": "",
       "locationCity": "",
       "locationState": "WI",
       "locationZip": ""
       "locationName": "American Legion Golf Course",
       "locationAddress": "1001 Golf Club Road",
       "locationCity": "Wausau",
       "locationState": "WI",
       "locationZip": "54403"
    but I'm lost at the
    // reference as address[index].locationName...address[index].locationZip where index = 0-[arraysize-1]
    direction, and just to double check, you named the Javascript var "addresses", so the "reference as address" s/b "reference as addresses" right?
    I've tried many iterations of "onchange" adding other variables (locationCity, locationZip, etc.) but coming up empty.
    Anyway, I wish I could buy you a beer or two for the help . . .
    Here's where I'm at, which ain't working. If you have a minute to look over, it would be MUCH appreciated. Try not to laugh at my (what's probably ugly) Javascript code:
    <!--- Code from Steve @ Adobe.com CF Forum --->
    <script type="text/javascript">
    var addresses = [
    <cfset variables.fs = "" />
    <cfoutput query="allLocations">
      #variables.fs#{
       "locationName": "#jsStringFormat(locationName)#",
       "locationAddress": "#jsStringFormat(locationAddress)#",
       "locationCity": "#jsStringFormat(locationCity)#",
       "locationState": "#jsStringFormat(locationState)#",
       "locationZip": "#jsStringFormat(locationZip)#"
      <cfset variables.fs = "," />
    </cfoutput>
    // reference as address[index].locationName...address[index].locationZip where index = 0-[arraysize-1]
    </script>
    <tr>
    <td align="right" bgcolor="#FFFFFF" valign="top">Name of Destination</td>
    <td align="left" bgcolor="#FFFFFF" valign="top">
      <select name="locationID" class="smallforms"
      onChange="var locationAddress = addresses[list.selectedIndex].locationAddress;">
                 <option value="">SELECT DESTINATION &#8250;&#8250;&#8250;&#8250;&#8250;&#8250;&#8250;&#8250;&#8250;&#8250;</option>
                 <cfoutput query="allLocations">
                       <option value="#locationName#">#locationName#</option>
                 </cfoutput>
          </select> 
      Other: <cfinput name="destinationNameOther" type="text" class="smallforms" size="75">
      <br />
      <cfoutput>
       <input id="locationID" name="locationID" type="hidden"><br>
       Address:  <cfinput class="smallforms" id="locationAddress"  name="locationAddress"  type="text" size="30"> 
       City:   <cfinput class="smallforms" id="locationCity"   name="locationCity"  type="text" size="20"> 
       State:   <cfinput class="smallforms" id="locationState"   name="locationState"  type="text" size="2"> 
       Zip:   <cfinput class="smallforms" id="locationZip"   name="locationZip"   type="text" size="8"><br />
      </cfoutput>
    <br />
    </td></tr>
    Thanks again Steve . . . much appreciated!

  • Insert fields in a report header using SortValue() function  (PLD)

    Hi...
    I need to create a user report, based on a query, that shows the following fields.
    CardCode |  CardName | Phone1  | E_mail  (header)
    Adress   | AddrType  | Street   | Streetno ...(repetitive area)
    I have inserted only one filed sucessfully using the <Group 1> and adding the SortValue() function  in the header with the cardcode field...
    How can i insert the other fields in the header?
    thanks...

    I just put a formula in the header with the Field name...and works fine...
    Thanks....

  • No field values in report!

    Hi,
    I have a situation wherein i have a field which has values in cube but not in the report. ( I am getting all zeroes for this field in report )
    This particular field is mapped to a field in R/3 which is populated dynamically       ( uses FM logic  in generic extraction and is not existing as a field in any table in R/3 ).
    This is a time field and in BW it was defined as number type key figure. In cube i am able to see these values of length 4 with commas as well.
    what i should do to get values for this field in report?
    Thanks,
    Ravi

    No Lokesh,
    this partcular field is not involved in any of the CKFS or RKFs .In fact for this report no CKF or RKF is existing
    More over it has values in cube ! that is what bothering me! if the values were not der in cube, then that is well known issue!
    Thanks,
    Ravi

  • Manually entering field values into report

    Hi, I am running a call report for a contact centre and the reports shows information such as numbers of calls received/answered, duration of calls, grade of service, etc. What I am wanting it to also include forcasted calls into the report. I do not have write access to the database (otherwise this would be very straight forward). The report in the end will get exported as a PDF document but I would like to be able to run the report and have some sort of prompt asking for the forcasted calls for each day ( I am showing multiple days on the report). They vary from day to day. Is there any way to do this? I'm reasonably new to crystal as well so simplicity is good. Thanks, Paul.

    Hi Paul,
    Crystal Reports is a tool that will allow you to read data from the database.  If your database contains a field that contains data for 'forecasted calls' you can place that on the report to display.  You will not be able to write data to the database from Crystal Reports.
    If you do not have a field that contains data for forecasted calls,  you might be able to create a formula to generate that.
    In regards to creating a prompt,  you can create a parameter in Crystal Reports from the Field Explorer.  Once you've created the report you can add that to the record selection formula (Report|Selection Formula|Record...)
    {yourforecast.field} = {?your.parameter}
    Regards,
    Wallie

  • Content Conversion without key field value

    Hi all,
    I want to do a content conversion which includes a record structure Header,1,Detail,*
    I dont have any key field value in the header nor in the detail. Can this be achived using FCC or should i go for Java.
    Rgds
    Aditya

    Hi Aditya,
    I think if u having multiple records then one shud hav key fields,
    pls check 4th point in this guide
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/troubleshooting%2bthe%2bfile%2badapter
    Also check this discussion::File Content Conversion(SenderFileadapter) fields parameters
    Thanks,

  • Truncating Field Values

    Hi,
    Is it possible to truncate field values on reports? If so, how do you do it?
    For example, the report shows 1000.00 AUD
    I would like to see 1000 in the report.
    Thanks

    Yeah it is for a currency field, the "revenue" field for the Opportunity record. In OnDemand you can't change the field type once created, and this is an important and widely used field within the out-of-the-box reports so i was looking for other ways of solving this problem without creating a new field.
    Cheers

  • How to Add/Concatenate to a text field, values selected in a combo box

    I have a combo box form field that allows the user to select a value from a list and click on an Add button. The Add button should add/concatenate the vaue selected to a text field in order to create a list of values selected. I'm not sure how to do this using Javascript in Acrobat? I know I need to add the javascript to the Add button's Mouse Up action. Any help would be greatly appreciated. Thanks!

    Thanks so much - it works!
    >>> "Gilad D (try67)" <[email protected]> 9/25/2013 9:16 AM >>>
    Re: How to Add/Concatenate to a text field, values selected in a combo box created by Gilad D (try67) ( http://forums.adobe.com/people/try67 ) in JavaScript - View the full discussion ( http://forums.adobe.com/message/5712118#5712118 )
    Let's say the text field's name is "Text1", and the combo is called "Combo1". You can then use this code as the MouseUp script of the Add button:
    var f1 = this.getField("Text1");
    var f2 = this.getField("Combo1");
    if (f1.value=="") f1.value = f2.value;
    else f1.value = f1.value + ", " + f2.value;
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5712118#5712118
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5712118#5712118
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5712118#5712118. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in JavaScript by email ( mailto:[email protected].com ) or at Adobe Community ( http://forums.adobe.com/choose-container!input.jspa?contentType=1&containerType=14&contain er=3286 )
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Bex Variable Value as Text in the report heading

    Hi
    We have fiscal year as a Bex variable and the user is prompted to enter a value when running the report.
    I have found that it is possible to add a filter to a report text box (Cell) by creating a formula and adding this to the cell contents.
    However, is it possible to add a Bex variable to display as text in a report header.  For example the user enters Fiscal Year = 2012 and the report header displays "Headcount for 2012".
    Any comments would be appreciated.
    Thanks
    Ian

    Hai
    Yes Possible u can use the formula
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/80e0bf7d-f374-2b10-f2b5-df8065a545af
    Thank u
    Naveen

  • How to display field value in header text?

    Hi Experts,
    In va03, the client wants some number in the header text which is stored in vbak. Please tell me:
    1. Which method should I use in BADI?
    2. How to display in header text?
    Regards
    Mani

    Hi Kiran,
    Thanks for the prompt reply. How can I display some hard code like 'Test' in the header text in va03.
    Text name = 0000001252
    Language = EN
    Text ID = Z001
    Text object = VBBK
    READ_TEXT is used to get the values from the header text, but how to set the values?
    Regards
    Mani

Maybe you are looking for

  • I am getting the following error in DAC, can anybody look into this ?

    Hi All I am getting the following error in DAC while Registering Informatica Services & repository services in DAC ? This is for RS(Repository services): ====================== Failure connecting to "BIA_RS"! ANOMALY INFO::: Error while pinging infor

  • Installing Quicken for Mac

    I just purchased an iMac. It has the Leopard OS. I am attempting to install Quicken for Mac 2007. The program installs just fine; receive message "Installation Complete". When I attempt to open the program, the program does not open, but rather opens

  • Outer Join or Combine Requests

    I have tables A (Account), B (Measures), and C (Time). I want all values from table A to appear in queries regardless of data or lack of in the other tables. I have created a left out join from A to B and this works fine...until I need to query on ye

  • Can any one tell me how to prepare for Swing interview

    hai, I have been working on swings for 18 months, till now i never attended any interview. I am having an nterview next week, i dont know what to prepare and how to prepare fo the interview. The only thing i know is how to use Swing components, i don

  • New iMac - set up question

    I'm just about to take delivery of a new iMac. At the moment I use Logic 8 on a Core Duo Mac Mini with all the Content (Loops Jam Pacs) stored on an external Hard Drive, which I also record to. My interface is a MOTU 896. The Mac Mini runs fine in ev