Inserting Tabs with multiple graphic on same

Hi experts
I have follow DHTML function for each Tab in Tab-Header for SAP BW 3.5:
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/65/c54a7e1a1b584589d238ba188df053/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/65/c54a7e1a1b584589d238ba188df053/content.htm</a>
That works but only with first graphic on SPAN ID. I need to show more than an object in one row.
Thanks in advance
Regards

Hi,
You mean, to display table_1 and table_2 in same page.  for that one, you can remove second span.
Regards,
Bhaskar

Similar Messages

  • BEx Web - Inserting Tabs with multiple Web Templates

    I encounter much difficulty to find consistent information on how to create a Web cockpit (BW3.5) by making use of embedded Web Templates (using web template web item).
    In particular,
    - How to define tab pages?
    - How to insert an HTML document in one of these tab pages or in the body of a single Web template?
    I would be glad if you could give me links to helpful documentation or share your own experience.
    Best regards.
    Laurent Querella
    BI Consultant
    ALTI Belgium

    Hi,
    I can`t find the BW Expert coding, too.
    But try out following coding.
    This example template contains 4 tabs
    1) Query (assign a Query to DP1)
    2) Query View (assign a view to DP2)
    3) Template (assign a template ID)
    4) Template (0ANALYZER)
    rgds Jens
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_PROPERTIES"/>
             <param name="TEMPLATE_ID" value=""/>
             TEMPLATE PROPERTIES
    </object>
    <HTML>
    <!-- BW data source object tags -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_DATA_PROVIDER"/>
             <param name="NAME" value="DATAPROVIDER_2"/>
             <param name="DATA_PROVIDER_ID" value=""/>
             DATA_PROVIDER:             DATAPROVIDER_2
    </object>
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_DATA_PROVIDER"/>
             <param name="NAME" value="DATAPROVIDER_1"/>
             <param name="DATA_PROVIDER_ID" value=""/>
             DATA_PROVIDER:             DATAPROVIDER_1
    </object>
    <HEAD>
    <TITLE>BW Web Application</TITLE>
          <link href="/sap/bw/Mime/BEx/StyleSheets/BWReports.css" type="text/css" rel="stylesheet"/>
          <script type="text/javascript">
          <!--
    /*  function goto_tab: Show all items, starting with tabname, Hide all other items */
              function goto_tab(tabname) {
                  SAPBWOpenURL(SAP_BW_URL_Get()'&item=TAB*&multi=X&hidden=X&cmd_1=item%3d'tabname+'*%26hidden%3d %26multi%3dX');
    /* DHTML function to set correct span-Tag visible
        For each Tab in Tab-Header (head_TAB) check, if item TABx is visible
        If Item is visible set Header as selected
        Otherwise set corresponding span-Tag to not visible */
              function set_actual_tab() {
                i=0;
                do {
                     i++;
                     if  (document.getElementById('head_TAB'+i) != null) {
                        /* Check if Object tag is hidden */
                        var prop = SAPBWGetItemProp('TAB'+i);
                        var hidden=true;
                        if (prop != null){
                                     for(j=1;j<prop.length;j++){
                                              if (prop[j][0] == "HIDDEN") hidden = (prop[j][1]=='X');
                        if (hidden) {
                                    document.getElementById("TAB"+i).setAttribute('style', 'display:none;visibility:false;',false);
                       else {
                                   document.getElementById("head_TAB"+i).setAttribute('className', 'SAPBEXTbsTABsel',false);
              } while (document.getElementById('head_TAB'+i) != null)
           -->
          </script>
    </HEAD>
    <BODY>
    <table cellspacing="0" cellpadding="5" border="0" id="tabheader">
                <tr>
    <td class="SAPBEXTbsTab" id="head_TAB1"><A href="javascript:goto_tab('TAB1')">Query</A>
    </td>
    <td class="SAPBEXTbsTab" id="head_TAB2"><A href="javascript:goto_tab('TAB2')">Query View</A>
    </td>
    <td class="SAPBEXTbsTab" id="head_TAB3"><A href="javascript:goto_tab('TAB3')">Template</A>
    </td>
    <td class="SAPBEXTbsTab" id="head_TAB4"><A href="javascript:goto_tab('TAB4')">BEx Web Analyzer</A>
    </td>
    </tr>
        </table>
    <table width="100%"  class="SAPBEXTbsBdyEdg" cellspacing="0" cellpadding="5" border="0">
                            <tr>
                    <td valign="top" >
          <P>
    <span id="TAB1">
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TAB1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="BORDER_STYLE" value="NO_BORDER"/>
             ITEM:            TAB1
    </object>
    </span>
    <span id="TAB2" ><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TAB2"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
             <param name="HIDDEN" value="X"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="BORDER_STYLE" value="NO_BORDER"/>
             ITEM:            TAB2
    </object>                                                
    </span></P>
          <P><SPAN id="TAB3"><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TAB3"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="HIDDEN" value="X"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="TEMPLATE_ID" value="myTemplateID"/>
             <param name="USE_ONLY_BODY" value=""/>
             <param name="NAME_PREFIX" value="TAB3"/>
             ITEM:            TAB3
    </object>
    </SPAN></P>
          <P><SPAN id="TAB4"><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TAB4"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             <param name="HIDDEN" value="X"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="USE_ONLY_BODY" value=""/>
             <param name="TEMPLATE_ID" value="0ANALYZER"/>
             <param name="NAME_PREFIX" value=""/>
             <param name="BORDER_STYLE" value="NO_BORDER"/>
             ITEM:            TAB4
    </object></SPAN></P>
    </td>
    </tr>
    </table>
    <script type="text/javascript">
    <!--
    /* This function call is needed to set the correct state */
       set_actual_tab();
    -->
    </script>
    </BODY>
    </HTML>

  • ITunes is totally frozen with multiple paints of same screen within itself. Also incredibly slow. Are there alternative players I can use with my iPhone, or must I use iTunes with my iPhone? iTunes is effectively unusably slow.

    iTunes is totally frozen with multiple paints of same screen within itself. Also incredibly slow. Are there alternative players I can use with my iPhone, or must I use iTunes with my iPhone? iTunes is effectively unusably slow. I am using Windows 7.
    I only use it once every few weeks and each time it is more disappointing than the previous time. does it run better on a Mac than Windows? Is this app really the future of media? Really?

    I am using iTunes 11.1.3 -- The most recent version. When I select something from my albums it just freezes. I have restarted it a few times with same result.

  • Cross-Tab in multiple columns on same page rather than on multiple pages

    I have a report that shows temperature readings and the date/time of the reading in a cross tab as a part of a report.  The amount of readings causes the cross-tab to take up multiple pages.  What I would like to do is set the cross tab to appear three or four times on the same page before going to the next page to reduce the number of pages in my report.  Any ideas on how I can do this?
    This is what I have:
    Page 1:
    Date/Time1  |  Temp1
    Date/Time2  |  Temp2
    Date/Time3  |  Temp3
    Date/Time4  |  Temp4
    Page 2:
    Date/Time5  |  Temp5
    Date/Time6  |  Temp6
    Date/Time7  |  Temp7
    Date/Time8  |  Temp8
    What I want is:
    Page 1
    Date/Time1  |  Temp1..............Date/Time5  |  Temp5..............Date/Time9   |  Temp9
    Date/Time2  |  Temp2..............Date/Time6  |  Temp6..............Date/Time10  |  Temp10
    Date/Time3  |  Temp3..............Date/Time7  |  Temp7..............Date/Time11  |  Temp11
    Date/Time4  |  Temp4..............Date/Time8  |  Temp8..............Date/Time12  |  Temp12    
    Page 2
    Date/Time13  |  Temp17............Date/Time21  |  Temp21............Date/Time25  |  Temp25
    Date/Time14  |  Temp18............Date/Time22  |  Temp22............Date/Time26  |  Temp26
    Date/Time15  |  Temp19............Date/Time23  |  Temp23............Date/Time27  |  Temp27
    Date/Time16  |  Temp20............Date/Time24  |  Temp24............Date/Time28  |  Temp28        

    hello,
    Don's suggestion of creating a "mock cross tab" is a good one.
    you can also try this Multiple Columns formatting idea if you wish:
    1) create a new report
    2) create a group on your date field
    3) put a summary on your Temp field and move it into the group header of the group
    4) suppress the details section and the group footer
    5) right click on the details section header in the design mode and choose Section Expert
    6) in the Common tab, choose Format With Multiple Columns
    7) in the Layout tab, choose a Width of about 2.66"
    8) choose Down Then Across for Printing Directions
    9) choose Format Groups With Multiple Columns
    10) bring this new report into your existing report as a subreport
    jamie

  • I am having a problem when i open a new tab with multiple images. If there is more than five or six images they won't all open.

    I open emails with multiple images. The new version is having a problem opening a tab with more than maybe 6 or 7 images. Older versions sometimes had the same problem but the unopened images appeared on the page as a small blank box that you could try to reload. Not anymore. Now you have to reload the whole tab. Sometimes this works other times it doesn't.

    You seem to be using a beta version. Maybe go back to a regular release and wait for V. 30 to become a regular release, and maybe whatever bug it is will be fixed.

  • Keynote with multiple graphics cards

    Hello all
    I will try and keep this a brief as possible. I am currently finished of an AV install in a local Christian Centre. As part of this we have installed a video system for displaying notices and live feeds of services and events. One of the members of the church has purchased 2 PCs with the purpose of displaying 2 different sets of notices in the reception area and the main hall. However for reasons that I won't go into here they completely mess the system up causing all sorts of interference problems.
    As part of the install we are going to be supplying them with a Mac pro with final cut to record events and produce DVDs of them.
    My question is if we were to add a second graphics card and iWork could keynote be set to use this card for it's output? And if it were would it leave the main output free (showing the desktop) for other uses?
    I know that with dual output cards the second output can be set to either mirror of show notes but there is no info in the help about what happens with multiple cards that would provide 4 outputs.

    No, Keynote takes over all the screens when presenting, and I'd think if you tried to edit in FCP when you were also running a show (if you could) it would likely bog BOTH programs down badly.
    You could export your presentations into QT and have the QT player running on one screen, but still, if you fire up FCP, everything's a different ball game then.
    I suggest leaving the FCP system on its own, don't try to do multiple things with it at the same time.

  • Java3D with Multiple Graphics Cards

    I am currently developing an application that has a 3D component. The application is targeted to be spanned across 3 monitors using 2 graphics cards.
    Most of the time when the application is over 2 of the monitors driven by different graphics cards, the exception below will be thrown
    Caused by: javax.media.opengl.GLException: Error making context current: 0
            at com.sun.opengl.impl.windows.WindowsGLContext.makeCurrentImpl(WindowsGLContext.java:169)
            at com.sun.opengl.impl.windows.WindowsPbufferGLContext.makeCurrentImpl(WindowsPbufferGLContext.java:102)
            at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:134)
            at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:182)
            at com.sun.opengl.impl.GLPbufferImpl.maybeDoSingleThreadedWorkaround(GLPbufferImpl.java:208)For the graphics cards, they are of the same model (ATI Radeon HD 5900 Series) and updated with the lastest drivers
    For the OS, I am using Win 7 64bit platform.
    Any help/advice will be greatly appreciated.
    Thanks
    Eng Chew

    No, Keynote takes over all the screens when presenting, and I'd think if you tried to edit in FCP when you were also running a show (if you could) it would likely bog BOTH programs down badly.
    You could export your presentations into QT and have the QT player running on one screen, but still, if you fire up FCP, everything's a different ball game then.
    I suggest leaving the FCP system on its own, don't try to do multiple things with it at the same time.

  • ICal sharing with multiple users on same computer

    How can i set up iCal to share with multiple users on the same computer? 

    yes, BUT... you need a central repository for the master calendars, usually referred to a Calendar Server. If you are not using a Mac OS X Server on your private network, I think you can use web-based servers that use standard calendar protocol.
    Mac 101: iCal

  • Cross tab with multiple repeating columns

    Hi All,
    I'm developing a cross tab report.. my sample xml file is
    <?xml version="1.0" encoding="UTF-8"?>
    <ROWSET>
    <ROW>
    <NAME>Product</NAME>
    <DATE>2008-05-01T00:00:00.000-05:00</DATE>
    <TYPE_CODE></TYPE_CODE>
    <MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
    <DD_CODE>Call - Back Office</DD_CODE>
    <NOTE_DATE>12</NOTE_DATE>
    </ROW>
    <ROW>
    <NAME>Product</NAME>
    <DATE>2008-05-01T00:00:00.000-05:00</DATE>
    <TYPE_CODE></TYPE_CODE>
    <MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
    <DD_CODE>Call - Back Office</DD_CODE>
    <NOTE_DATE>11</NOTE_DATE>
    </ROW>
    <ROW>
    <NAME>Product</NAME>
    <DATE>2008-05-01T00:00:00.000-05:00</DATE>
    <TYPE_CODE></TYPE_CODE>
    <MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
    <DD_CODE>Call - Back Office</DD_CODE>
    <NOTE_DATE>14</NOTE_DATE>
    </ROW>
    <ROW>
    <NAME>Product</NAME>
    <DATE>2008-05-01T00:00:00.000-05:00</DATE>
    <TYPE_CODE></TYPE_CODE>
    <MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
    <DD_CODE>Call - Back Office</DD_CODE>
    <NOTE_DATE>112</NOTE_DATE>
    </ROW>
    <ROW>
    <NAME>Product</NAME>
    <DATE>2008-05-01T00:00:00.000-05:00</DATE>
    <TYPE_CODE></TYPE_CODE>
    <MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
    <DD_CODE>Call - Monitoring</DD_CODE>
    <NOTE_DATE>121</NOTE_DATE>
    </ROW>
    <ROW>
    <NAME>Product</NAME>
    <DATE>2008-05-01T00:00:00.000-05:00</DATE>
    <TYPE_CODE></TYPE_CODE>
    <MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
    <DD_CODE>Call - Monitoring</DD_CODE>
    <NOTE_DATE>122</NOTE_DATE>
    </ROW>
    <ROW>
    <NAME>Product</NAME>
    <DATE>2008-05-01T00:00:00.000-05:00</DATE>
    <TYPE_CODE></TYPE_CODE>
    <MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
    <DD_CODE>Call - Monitoring</DD_CODE>
    <NOTE_DATE>131</NOTE_DATE>
    </ROW>
    <ROW>
    <NAME>Product</NAME>
    <DATE>2008-05-01T00:00:00.000-05:00</DATE>
    <TYPE_CODE></TYPE_CODE>
    <MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
    <DD_CODE>Call - Monitoring</DD_CODE>
    <NOTE_DATE>111</NOTE_DATE>
    </ROW>
    <ROW>
    <NAME>Product</NAME>
    <DATE>2008-05-01T00:00:00.000-05:00</DATE>
    <TYPE_CODE></TYPE_CODE>
    <MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
    <DD_CODE>Site Visit - Back Office</DD_CODE>
    <NOTE_DATE>11</NOTE_DATE>
    </ROW>
    <ROW>
    <NAME>Product</NAME>
    <DATE>2008-05-01T00:00:00.000-05:00</DATE>
    <TYPE_CODE></TYPE_CODE>
    <MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
    <DD_CODE>Site Visit - Back Office</DD_CODE>
    <NOTE_DATE>143</NOTE_DATE>
    </ROW>
    <ROW>
    <NAME>Product</NAME>
    <DATE>2008-05-01T00:00:00.000-05:00</DATE>
    <TYPE_CODE></TYPE_CODE>
    <MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
    <DD_CODE>Site Visit - Back Office</DD_CODE>
    <NOTE_DATE>122</NOTE_DATE>
    </ROW>
    <ROW>
    <NAME>Product</NAME>
    <DATE>2008-05-01T00:00:00.000-05:00</DATE>
    <TYPE_CODE></TYPE_CODE>
    <MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
    <DD_CODE>Site Visit - Back Office</DD_CODE>
    <NOTE_DATE>111</NOTE_DATE>
    </ROW>
    <ROW>
    <NAME>Product</NAME>
    <DATE>2008-05-01T00:00:00.000-05:00</DATE>
    <TYPE_CODE></TYPE_CODE>
    <MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
    <DD_CODE>Site Visit - Monitoring</DD_CODE>
    <NOTE_DATE>1432</NOTE_DATE>
    </ROW>
    <ROW>
    <NAME>Product</NAME>
    <DATE>2008-05-01T00:00:00.000-05:00</DATE>
    <TYPE_CODE></TYPE_CODE>
    <MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
    <DD_CODE>Site Visit - Monitoring</DD_CODE>
    <NOTE_DATE>112</NOTE_DATE>
    </ROW>
    <ROW>
    <NAME>Product</NAME>
    <DATE>2008-05-01T00:00:00.000-05:00</DATE>
    <TYPE_CODE></TYPE_CODE>
    <MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
    <DD_CODE>Site Visit - Monitoring</DD_CODE>
    <NOTE_DATE>121</NOTE_DATE>
    </ROW>
    <ROW>
    <NAME>Product</NAME>
    <DATE>2008-05-01T00:00:00.000-05:00</DATE>
    <TYPE_CODE></TYPE_CODE>
    <MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
    <DD_CODE>Site Visit - Monitoring</DD_CODE>
    <NOTE_DATE>123</NOTE_DATE>
    </ROW>
    <ROW>
    <NAME>Product</NAME>
    <DATE>2008-05-01T00:00:00.000-05:00</DATE>
    <TYPE_CODE></TYPE_CODE>
    <MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
    <DD_CODE>Visit - WDE Office</DD_CODE>
    <NOTE_DATE>123</NOTE_DATE>
    </ROW>
    <ROW>
    <NAME>Product</NAME>
    <DATE>2008-05-01T00:00:00.000-05:00</DATE>
    <TYPE_CODE></TYPE_CODE>
    <MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
    <DD_CODE>Visit - WDE Office</DD_CODE>
    <NOTE_DATE>1321</NOTE_DATE>
    </ROW>
    <ROW>
    <NAME>Product</NAME>
    <DATE>2008-05-01T00:00:00.000-05:00</DATE>
    <TYPE_CODE></TYPE_CODE>
    <MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
    <DD_CODE>Visit - WDE Office</DD_CODE>
    <NOTE_DATE>1312</NOTE_DATE>
    </ROW>
    <ROW>
    <NAME>Product</NAME>
    <DATE>2008-05-01T00:00:00.000-05:00</DATE>
    <TYPE_CODE></TYPE_CODE>
    <MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
    <DD_CODE>Visit - WDE Office</DD_CODE>
    <NOTE_DATE>211</NOTE_DATE>
    </ROW>
    </ROWSET>
    If I use the cross tab wizard ...I'm get the following output..
    -------------Call - Back Office-------Call - Monitoring-------Site Visit - Back Office-------Site Visit -Monitoring-----Visit - WDE Office
    product              12                      121                       11                                    1432                   123
    but I'm looking for output like...
    -------------Call - Back Office-----Call - Monitoring------Site Visit - Back Office------Site Visit -Monitoring-------Visit - WDE Office
    product-------12 11 14 112-----------121 122 131 111----------11 143 122 111------------------1432 112 121 123 ---------123 1321 1312 211The numbers under each column are dynamic ..I might be getting 2,3,4..(In this case all are four)...I looked at the below link but it had static 2 repeating columns..but in my case the repeating columns are unknown...
    http://winrichman.blogspot.com/2008/09/crosstab-with-multiple-repeating.html
    Is is possible to build a cross tab like that..?
    Thanks in Advance..

    Hi..
    Thanks alot for your time..
    can I e-mail you my actual xml file..? becuase if there are multiple rows(multiple <?NAME?>)...the column headers(DD_CODE) are repeating for every row(<?NAME?>)..also is it possible to get each NOTE_DATE in a cell(here all the NOTE_DATE are displaying in a table)....
    present output...
    -------------Call - Back Office-----Call - Monitoring------Site Visit - Back Office------Site Visit -Monitoring-------Visit - WDE Office
    product-------12 11 14 112-----------121 122 131 111----------11 143 122 111------------------1432 112 121 123 ---------123 1321 1312 211
    -------------Call - Back Office-----Call - Monitoring------Site Visit - Back Office------Site Visit -Monitoring-------Visit - WDE Office
    product1-------11 15 13 12-----------00 111 132 444----------12 434 123 171------------------1832 162 221 124 ---------143 1231 1311 241
    looking for output like..
    -------------Call - Back Office-----Call - Monitoring------Site Visit - Back Office------Site Visit -Monitoring-------Visit - WDE Office
    product-------12 11 14 112-----------121 122 131 111----------11 143 122 111------------------1432 112 121 123 ---------123 1321 1312 211
    product1-------11 15 13 12-----------00 111 132 444----------12 434 123 171------------------1832 162 221 124 ---------143 1231 1311 241Thanks in Advance...

  • Sql query with multiple joins to same table

    I have to write a query for a client to display business officers' names and title along with the business name
    The table looks like this
    AcctNumber
    OfficerTitle
    OfficerName
    RecKey
    90% of the businesses have exactly 4 officer records, although some have less and some have more.
    There is a separate table that has the AcctNumber, BusinessName about 30 other fields that I don’t need
    An individual account can have 30 or 40 records on the other table.
    The client wants to display 1 record per account.
    Initially I wrote a query to join the table to itself:
    Select A.OfficerTtitle, A.OfficerName, B.OfficerTitle, B.OfficerName, C.OfficerTtitle, C.OfficerName, D.OfficerTitle, D.OfficerName where A.AcctNumber = B.AcctNumber and A.AcctNumber = C.AcctNumber and A.AcctNumber = D.AcctNumber
    This returned tons of duplicate rows for each account ( number of records * number of records, I think)
    So added
    And A.RecKey > B.RecKey and B.RecKey > C. RecKey and C.RecKey . D.RecKey
    This works when there are exactly 4 records per account. If there are less than 4 records on the account it skips the account and if there are more than 4 records, it returns multiple rows.
    But when I try to l join this to the other table to get the business name, I get a row for every record on the other table
    I tried select distinct on the other table and the query runs for ever and never returns anything
    I tried outer joins and subqueries, but no luck so far. I was thinking maybe a subquery - if exists - because I don't know how many records there are on an account, but don't know how to structure that
    Any suggestions would be appreciated

    Welcome to the forum!
    user13319842 wrote:
    I have to write a query for a client to display business officers' names and title along with the business name
    The table looks like this
    AcctNumber
    OfficerTitle
    OfficerName
    RecKey
    90% of the businesses have exactly 4 officer records, although some have less and some have more.
    There is a separate table that has the AcctNumber, BusinessName about 30 other fields that I don’t need
    An individual account can have 30 or 40 records on the other table.
    The client wants to display 1 record per account.As someone has already mentioned, you should post CREATE TABLE and INSERT statements for both tables (relevant columns only). You don't have to post a lot of sample data. For example, you need to pick 1 out of 30 or 40 rows (max) for the same account, but it's almost certainly enough if you post only 3 or 4 rows (max) for an account.
    Also, post the results you want from the sample data that you post, and explain how you get those resutls from that data.
    Always say which version of Oracle you're using. This sounds like a PIVOT problem, and a new SELECT .... PIVOT feature was introduced in Oracle 11.1. If you're using Oracle 11, you don't want to have to learn the old way to do pivots. On the other hand, if you have Oracle 10, a solution that uses a new feature that you don't have won't help you.
    Whenever you have a question, please post CREATE TABLE and INSERT statements for some sample data, the results you want from that data, an explanation, and your Oracle version.
    Initially I wrote a query to join the table to itself:
    Select A.OfficerTtitle, A.OfficerName, B.OfficerTitle, B.OfficerName, C.OfficerTtitle, C.OfficerName, D.OfficerTitle, D.OfficerName where A.AcctNumber = B.AcctNumber and A.AcctNumber = C.AcctNumber and A.AcctNumber = D.AcctNumber Be careful, and post the exact code that you're running. The statement above can't be what you ran, because it doesn't have a FROM clause.
    This returned tons of duplicate rows for each account ( number of records * number of records, I think)
    So added
    And A.RecKey > B.RecKey and B.RecKey > C. RecKey and C.RecKey . D.RecKey
    This works when there are exactly 4 records per account. If there are less than 4 records on the account it skips the account and if there are more than 4 records, it returns multiple rows.
    But when I try to l join this to the other table to get the business name, I get a row for every record on the other table
    I tried select distinct on the other table and the query runs for ever and never returns anything
    I tried outer joins and subqueries, but no luck so far. I was thinking maybe a subquery - if exists - because I don't know how many records there are on an account, but don't know how to structure that
    Any suggestions would be appreciatedDisplaying 1 column from n rows as n columns on 1 row is called Pivoting . See the following link fro several ways to do pivots:
    SQL and PL/SQL FAQ
    Pivoting requires that you know exactly how many columns will be in the result set. If that number depends on the data in the table, then you might prefer to use String Aggregation , where the output consists of a huge string column, that contains the concatenation of the data from n rows. This big string can be formatted so that it looks like multiple columns. For different string aggregation techniques, see:
    http://www.oracle-base.com/articles/10g/StringAggregationTechniques.php
    The following thread discusses some options for pivoting a variable number of columns:
    Re: Report count and sum from many rows into many columns

  • Fetch Multiple row in repor to insert data with multiple rows .

    Hi Friends
    i want to Insert emp attendance .
    There are 10 emp in company .they enter there arival time in attendance register .
    i have two item
    1--p1_att_date
    2--p1_status
    ATTEN_STATUS are PRESENT by default in selectlist .
    i want, when i enter date in p1_att_date item and Press submit then generate a report with 10 employee and insert in_time in report and when press enter then data with 10 emp should insert in to table ABC .
    i don't want to use tabularform for this .actully i don't want to use ADD_ROW option to ADD attendance for second emp.so please give me some solution.
    Emp_ID     ATTEN_DATE     ATTEN_STATUS      IN_TIME     OUT_TIME
    101     22-JAN-2009     PRESENT          
    102     22-JAN-2009     PRESENT          
    103     22-JAN-2009     PRESENT          
    104     22-JAN-2009     PRESENT          
    105     22-JAN-2009     PRESENT          
    106     22-JAN-2009     PRESENT          
    107     22-JAN-2009     PRESENT          
    108     22-JAN-2009     PRESENT          
    109     22-JAN-2009     PRESENT          
    110     22-JAN-2009     PRESENT     
    My table is :-
    table Name --ABC
    emp_id number;
    atten_date date;
    atten_status varchar2(12);
    in_time timestemp;
    out_time timestemp;
    How can i do this.
    Thanks
    Manoj

    Hi Manoj,
    You can create multiple records easily using a single, simple, form. However, you would surely have to enter in the times individually using a tabular form (otherwise, you would have to use the same form 10 times). You do not have to keep the Add Row option on the page - this functionality can be removed.
    Andy

  • Cannot get multiple tabs with multiple web pages

    Hi, My plain vanilla firefox browser in Win 8 has stopped giving me multiple tabs when I access more than 1 web url. Before say I access 5 sites, then for each site I get 5 tabs so I can easily switch between web pages. Now they all appear under 1 tab only. Ticking the box in Tools/Options/Tabs/open new window in a new tab instead, doesn't work...very frustrating....any ideas? Many thanks

    I'm not sure I understand the change, so let me mention a few things and you can reply with comments and clarifications.
    How are you directing links to new tabs: do you use one of these methods?
    * right-click > Open Link in New Tab
    * Ctrl+left-click
    * middle-click (using a mouse scroll wheel)
    Other issues:
    * Is Firefox's tab bar not showing or behaving strangely? (Please describe in more details if applicable.)
    * If the problem is that the Windows Task Bar is not working the way it used to, check the ''last'' setting on the Tabs panel of the Options dialog: "Show tab previews in the Windows Taskbar" to see whether that is what got turned off.
    * If the problem is that Google results used to automatically open in a new tab but now they open in the same tab, you need to select "new window" in Google search preferences: https://www.google.com/preferences

  • Home sharing to Apple TV with multiple users on same computer

    I have two different users on the same computer.  To facilitate sharing their music and movies to eachother, they are each using Home Sharing with the same Apple ID.  As long as both users remain logged in, this works with no problem.   Except for Apple TV.  The Apple TV can see each library, so they both show up in the list under Computers, but only one is accessible.  It's either the first one that broadcast itself, or the first one that Apple TV connected to, I'm not sure which.  But, once that's established, the second library will remain in the Computers list, but any attempt to connect to the library will fail.  It appears there is a limitation that Apple TV can only connect to a single library per physical computer, even though it can tell there are multiple libraries there.
    Does anyone have any idea how to work around this without consolidating the libraries?  Being able to connect to multiple libraries is the goal, not consoludating them.

    I don't have that set up anymore, but used to. I had no problems sharing from either library. Of course it may have changed since I used it, but wouldn't see why.

  • Asset Intelligence Third Party Import File with multiple PO# for Same Software Title.

    A customer of mine ask me if there is a way to import third-party license information to SCCM 2012 Asset Intelligence that contain multiple POs either from same or different vendors using one line per PO.  I try using the following test input file but
    if fails.  If I only use a single line it works.
    Name,Publisher,Version,Language,EffectiveQuantity,PONumber,ResellerName,DateOfPurchase,SupportPurchased,SupportExpirationDate,Comments
    Adobe Reader XI (11.0.07)  MUI,Adobe Systems,11,English,3,CS10087281,XYZ,2/1/2013,,,
    Adobe Reader XI (11.0.07)  MUI,Adobe Systems,11,English,7,CS10087293,XYZ,6/1/2014,,,
    Adobe Reader XI (11.0.07)  MUI,Adobe Systems,11,English,2,CS10087451,RTR,7/1/2014,,
    The customer wants to track each individual PO for auditing purposes.  It appears the error in importing the file is due to the Name field having to be unique.  One approach might be to manually totaling the licenses for a given title and adding
    the POs info to the comment field.  Issue with this is the administrative overhead and limiting ability to track the individual PO/license info such as Reseller Name, Date of Order, ect.  I'm hoping for a workaround or is this a software limitation
    and they have to look at a third party solution.
    Thank You in Advance

    Wally,
    Thanks for the response.  So far it appears to be the case because the key field is the software name so it looks like a third party tool might be needed where SCCM provides the license usage info and the tool reconciles/normalizes against purchases.

  • Unable to consistently keep XBOX Live party with multiple consoles from same location.

    I have FIOS (Actiontec MI424WR Rev E with firmware 20.10.7.5) and am having problems staying in a party when running two XBOX 360 consoles.  Both Xbox's are connected to the router wirelessly.   We often like to crreate our own party (of 2) and play the same game (usually COD Black Ops).  The problem is we can both log into XBOX Live without problems.  However, if we create our own party (of 2) and play the same game we run into trouble.  The party may be fine for a random amount of time (minutes or hours), but then one of two scenarios happen.  We either get kicked out of the party and cannot rejoin it.   Or, we remain in the party, but but cannot play together in the same multiplayer map of the same game.  Usually, when this happens I can reboot the router (via the on/off switch) or I have to unplug it for 10 seconds and plug it back in and things work fine for another random amount of time.
    I've enabled UPNP and deleted the port forwarding rules for XBOX Live that were already present on the router.  In fact there are numerous port forwarding rules defined (by Verizon?) for games and other applications that I know I did not create nor do we use.   Anyway, with UPNP enabled, one XBOX has an open NAT while the other always has moderate.
    What else can I do to get multiiple XBOX 360 consoles to be able to join XBOX Live and stay in the same party, playing the same game.   
    Thanks.
    Solved!
    Go to Solution.

    I found a couple of postings of users with the MI424WR Rev E (firmware not specified) who simply turned on UpNp and were able to get multiple xbox 360s online at the same time via the same router.
    That got me to thinking...  I have an older Xbox 360 (circa 2007) that does not have WiFi built in.  So, I am using a gaming adapter that has been assigned a static IP.  My understanding is that UpNp requires DHCP and not static IPs.  So, I am wondering if the  game adapter with its static IP is causing the problem, even though the Xbox it is connected to does NOT have a static IP.
    Will be testing this theory tonight when I connect the Xbox directly into the router (no WiFi).  If that works than I will put the Xbox back where it normally sits and re-configure the game adapter to DHCP and give it a go.

Maybe you are looking for

  • Many execution of a query with different selections in the same work book

    Hi all, I have a workbook with one query that show sales of a plant. User can select many plants, but he doesn't like it, too easy. In this way query shows all the plant in the same sheet and he want a sheet for each plant. The most simply way to do

  • The monitor flashes

    Hello everyone! I installed Arch only two days ago and already gives me problems.Yesterday I installed some programs (nothing special, OpenOffice, Chrome, Gathering, VLC, emesene, Gimp) and a couple of programs that are proven not compatible (osmosis

  • Nearly blank page in my apps listing after ios7

    Just installed ios7, to find a nearly blank page in my apps listing between apple's stuff and my stuff. Other than manually moving every single ap to fill in the blank space (a tedious and clumbsy process at best), is there a way to get it to do this

  • Getting error message while running forms(Forms11g) using port 8888

    Hi , I am facing one issue while running forms.By using http://localhost:9001 forms are working fine. When i use http://localhost:8888 it is showing Internet explorer can not display this page. It seems it has some issue while installing forms 11g de

  • Why doesn't updating a book in framemaker 10 show the correct tabs for the table of contents from th

    I'm using Framemaker 10.0.2.419 to build a book.  I can generate a TOC by following the web tutorials.  When I go to the reference page of the TOC file and format the paragraph tags, any formatting requests with tabs aren't realized when the book is