Display one record data - splitting it into 2 different rows

Hi ,
I have a requirement wherein i search for something and the results are displayed in the table. I am using tablelayout for this.
For each record, the data will be split across in 3 separate rows, i.e. one complete record will span across 3 rows.
When Search is fired initially, only one row of data is dispalyed. Then I have a button or icon corresponding to this first row of each record, on clicking on this icon, all the other rows related to this one record should be displayed.
How can i achieve this? Also should I query entire data for one record at one go, and then hide/show it based on icon click, or I should get results/details realetd to first row only, and then again fire another VO to get the details of 2 and 3rd row. Which is much better from performance point of view.?
Please advice
Regards
Puja

Puja,
The suggested UI for master-detail relationship is table in a table and hgrid.
--Mukul                                                                                                                                                                                                                           

Similar Messages

  • How Calculate more than one value and store it into to different rows and column for each input?

    thx guys.....i have a progress now in LV
    But now i have new trouble here. Ok i attached my LV file (LV 7.0.1/7.1) and excel form. I just could'nt calculate more than one input value. I want a different result for each value that i enter ... and store it into different rows and column. But it just store at one row.
    Attachments:
    My Project.vi ‏31 KB
    rumus motor bakar.xls ‏14 KB

    duplicate post

  • Displaying one record at a time

    Is any body able to help me? I need to display one record at a time from a Select statement.
    Could I copy the results of the Select query from a table into an array for later display or is there a better alternative.
    Please, any part knowledge with regard to the above would be usefull.
    Regards
    Eddie

    What application do you want to use to display the data?
    You can use "rownum" in your SQL statement to ensure that you only get record N of a query. Asktom has a good article on this sort of windowing
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:127412348064
    More commonly, however, you'll write a SQL query that returns all the rows, fetch a small number, display those to the user, and then fetch more records.
    Justin

  • Display one record at a time

    i am trying to display one record from my database on my jsp page per time using next and previous buttons to navigate. I have tried to implement this by putting the resultset in a vector and then tried to tried to dispaly data with no success.Please somebody help ,i been at this for two days with no success.Could someone give a concreate example to guide me

    Please post all code, i dont know how to put my resultset in a vector or arraylist.
    I need a First Previous next and Last link in asp it is called recordset paging or recordset navigation.
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
    <%@ include file="Connections/connEvents.jsp" %>
    <%
    int index = 0; //or wherever you wish to start
    if((String s = request.getParameter("index")) != null)
    index = Integer.parseInt(s);
    %>
    <%
    Driver DriverrsEvents = (Driver)Class.forName(connEvents_DRIVER).newInstance();
    Connection ConnrsEvents = DriverManager.getConnection(connEvents_STRING,connEvents_USERNAME,connEvents_PASSWORD);
    //PreparedStatement StatementrsEvents = ConnrsEvents.prepareStatement("SELECT * FROM hog_evenementen", ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE);
    //StatementrsEvents.setFetchSize(10);
    //ResultSet rsEvents = StatementrsEvents.executeQuery();
    PreparedStatement StatementrsEvents = ConnrsEvents.prepareStatement("SELECT * FROM hog_evenementen");
    ResultSet rsEvents = StatementrsEvents.executeQuery();
    %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>HD - Evenementen-beheer</title>
    <style type="text/css">
    <!--
    body {
         background-color: #333333;
    -->
    </style></head>
    <script>
    function post(actValue)
    document.MyForm.action.value = actValue ;
    document.MyForm.submit() ;
    </script>
    <body>
    <table width="60%" border="0" align="center" cellpadding="0" cellspacing="0" class="">
    <tr>
    <td><table width="100%" class="" border="0" cellpadding="6" cellspacing="0">
    <tr>
    <td width="175" align="center" valign="bottom" bgcolor="#FF6600" class="">Evenementen-beheer</td>
    <td bgcolor="#333333" class=""><span class=""><span class="formField">
    </span></span></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="6">
    <tr bgcolor="#61ABD0" class="verdana10zwart">
    <td width="4"> </td>
    <td width="512" height="29"> <span class="">Evenementenoverzicht</span></td>
    </tr>
    <tr bgcolor="#61ABD0" class="">
    <td> </td>
    <td><table width="100%" border="0" align="center" cellpadding="6" cellspacing="0">
    <tr class="">
    <td width="252" class="smallText">record 1 van 1 etc moet hier komen <br></td>
    <td width="231" align="left" class="smallText"><table width="50%" border="0" align="center">
    <tr>
    <td width="23%" align="center"> Firs </td>
    <td width="23%" align="center"> <a href="index.jsp?index=<%= (index-10)%>">Previous</a></td>
    <td width="23%" align="center"><a href="index.jsp?index=<%= (index+10)%>">Next</a></td>
    <td width="23%" align="center">Last</td>
    </tr>
    </table>
    <br>
    </td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td>Thema</td>
    <td>Datum</td>
    </tr>
                   <%
                   int rowCount = 0;
                   while(rsEvents.next() && rowCount < 10) {
              rowCount++;
                   %>
    <tr>
    <td><a href="event_crud.jsp?ID=<%= rsEvents.getObject(ID")%">"><%= rsEvents.getObject("thema")%></a></td>
    <td width="231"><%= rsEvents.getObject("datum")%></td>
    </tr>
                   <% } %>
    </table></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td bgcolor="#CCCCCC"><form action="event_frm_process.jsp" METHOD="POST" name="MyForm" id="MyForm">
    <table width="100%" border="0" cellpadding="6" cellspacing="0" class="verdana10zwart">
    <tr bgcolor="#CCCCCC">
    <td width="9"> </td>
    <td colspan="2"><span class="kop1"><br>
    Evenement toevoegen </span><span class="formField"><br>
    </span><br>
    <span class="formField"> </span></td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td width="9"> </td>
    <td width="107" class="downBorder">Thema:</td>
    <td width="383" class="downBorder"><input name="thema" type="text" id="thema"></td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td width="9"> </td>
    <td class="downBorder">Omschrijving:</td>
    <td class="downBorder"><textarea name="omschrijving" cols="40" rows="10" id="omschrijving"></textarea>
                   </td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td width="9"> </td>
    <td class="downBorder">Datum:</td>
    <td class="downBorder"><input name="datum" type="text" id="datum"></td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td width="9"> </td>
    <td class="downBorder">Tijd:</td>
    <td class="downBorder"><input name="tijd" type="text" id="tijd"></td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td width="9"> </td>
    <td class="downBorder">Lokatie:</td>
    <td class="downBorder"><input name="lokatie" type="text" id="lokatie"></td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td width="9"> </td>
    <td class="downBorder">Plaatje:</td>
    <td class="downBorder"><input name="plaatje" type="text" id="plaatje"></td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td width="9"> </td>
    <td class="downBorder"> </td>
    <td class="downBorder"><input name="insert" type="button" id="insert" onClick="post('insert');return false;" value="Evenement toevoegen"></td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td width="9"> </td>
    <td>
                   <input name="action" type="hidden" class="" id="action" value="">
    <% while(rsEvents.next()){ %>
                   <input name="ID" type="hidden" class="" id="ID" value="<%=rsEvents.getString("ID")%>">
                   <%
                   %>
                   </td>
    <td> </td>
    </tr>
    </table>
    </form></td>
    </tr>
    </table>
    </body>
    </html>
    <%
    rsEvents.close();
    StatementrsEvents.close();
    ConnrsEvents.close();
    %></a>

  • When we drilldown at document level it displays one record for each cube

    Dear Experts .
    The users want to see the report by status for the order detail report at document level it displays one record for each cube .
    They want to see the single line for the order quantity , Amount, Billing quantity delivery and amount along with the Sales order number , billing document number billing date , delvert date ..et in signgle line. ( Sale order DeliveryBilling)
    When we are doing on Multiprovider recording displaying from each cube.
    We have tried with Constant selections and it is not giving the required results m since these want to see by status. Due to huge data performance reasons we re unable to use it .
    Please provide your valuable inputs.
    Thanks,
    Mahesh.

    Mahesh,
    If you want to get detail data with respect to Sales order - delivery - Billing, on top of Multiprovider you can come up with Constant selection.
    But I am not clear that why constant selection is not working properly, can I have some light on that.
    Probably, you are struggling with multiple records .
    I suggest you to go with end routine and map all fields to one IC and do reporting on that single IC, then your requirement will fulfill.
    But here we need to take care of performance issues and process chain scheduling wile loading deltas.
    If Multiprovider is not working properly , then try with Infoset(If you have more than 2 ICs it not possible).
    Regards,
    rvc

  • SapScript is displaying one record per page...

    Hi friends,
    I am getting a problem in scripts.
    when i am displaying multiple records in the main window it is displaying a single record per each page, like if i have 20 records it is displaying 20 pages and in every page one record
    how to resolve this
    plz assist me
    is there any wrong in tagcolumn i.e. / , /: , *
    how i have to maintain them
    Edited by: Alvaro Tejada Galindo on Feb 22, 2008 6:15 PM

    Kindly check ou script & program i think somewhere new-page is written. that'why each record is printing on new page.
    anya

  • HT1473 How do I get iTunes to download an entire album in one file versus splitting it into multiple files with the same Album Title?

    I have added several CDs to my iTunes files, several Albums were added in the form of multiple files of the same Album title with random songs listed, but not the entire album in one file.
    I have tried to reassemble the Album into one file, but could not find a way to do so.

    Generally setting a common Album title and Album Artist will fix things.
    For deeper problems see Grouping tracks into albums.
    tt2

  • How to display interaction record data in action mail directly ??

    Hi Gurus,
    We use CRM 7.0
    I have service order for the follow up transaction of interaction record.
    I define many actions for changing status of service order. I do it in actions with a method implemented from EXEC_METHODCALL_PPF. I provide e-mails with this badi. But whn I look to mails, I see that data is attached to mail as a pdf document. I don't want this attachment. I want to see what I am sending directly inside the mail, front page of mail, when user open mail he/she should see data directly, not with opning an attachment. I don't know why an attachment is created...what cause which paramter do it... I want a simple mail and seen directly. How can I do this? Please help me..

    Hi.
    Please check your SCOT parameters.
    Regards

  • Displaying selection screen data on alv header in multiple rows and columns

    Hi
    Presently in my requirement , whatever  the data entered in  selection screen  should display  on alv header  and item details on alv grid display.
    for eg...
    on alv header
      customer no :  1000 to 2000         sales order no: 111
      name :    gff to ff                                 sales org:
      city:                                         country:
      item details below this   
      plz guide me how to solve this issue.
    Thanks & Regards,
    Pradeep

    Hi,
    Check this code this may help you.
    <code>
    TYPE-POOLS : SLIS.
    TABLES VBRK.
    TYPES : BEGIN OF TY_VBRK,
            VBELN TYPE VBRK-VBELN,
            VKORG TYPE VBRK-VKORG,
            VTWEG TYPE VBRK-VTWEG,
            SPART TYPE VBRK-SPART,
            FKDAT TYPE VBRK-FKDAT,
            END OF TY_VBRK,
            BEGIN OF TY_VBRP,
            VBELN TYPE VBRP-VBELN,
            POSNR TYPE VBRP-POSNR,
            MATNR TYPE VBRP-MATNR,
            ARKTX TYPE VBRP-ARKTX,
            FKIMG TYPE VBRP-FKIMG,
            NETWR TYPE VBRP-NETWR,
            END OF TY_VBRP,
            BEGIN OF TY_TARGET,
            VBELN TYPE VBRK-VBELN,
            VKORG TYPE VBRK-VKORG,
            VTWEG TYPE VBRK-VTWEG,
            SPART TYPE VBRK-SPART,
            FKDAT TYPE VBRK-FKDAT,
            POSNR TYPE VBRP-POSNR,
            MATNR TYPE VBRP-MATNR,
            ARKTX TYPE VBRP-ARKTX,
            FKIMG TYPE VBRP-FKIMG,
            NETWR TYPE VBRP-NETWR,
            END OF TY_TARGET.
    DATA : T_VBRK TYPE TABLE OF TY_VBRK,
           W_VBRK TYPE TY_VBRK,
            T_VBRP TYPE TABLE OF TY_VBRP,
            W_VBRP TYPE TY_VBRP,
            T_TARGET TYPE TABLE OF TY_TARGET,
            W_TARGET TYPE TY_TARGET,
    FIELD CATALOG ******************
            T_FCAT TYPE SLIS_T_FIELDCAT_ALV,
            W_FCAT TYPE SLIS_FIELDCAT_ALV,
    *************************************SUB TOTALS AND SORTING***********
            T_SORT TYPE SLIS_T_SORTINFO_ALV,
            W_SORT TYPE SLIS_SORTINFO_ALV,
    *************************************FOR LIST HEADER******************
            T_LIST_HEAD TYPE SLIS_T_LISTHEADER,
            W_LIST_HEAD TYPE SLIS_LISTHEADER,
            T_LIST_HEAD1 TYPE SLIS_T_LISTHEADER,
            W_LIST_HEAD1 TYPE SLIS_LISTHEADER,
    *************************************FOR LIST HEADER******************
            W_LAYOUT TYPE SLIS_LAYOUT_ALV,
    ************************************FOR EVENTS************************
            T_EVENT TYPE SLIS_T_EVENT,
            W_EVENT TYPE SLIS_ALV_EVENT.
    *********************************SELECT OPTIONS***********************
    SELECT-OPTIONS : S_VBELN FOR VBRK-VBELN DEFAULT 90005316 TO 90005330.
    **RETRIVING DATA************************
    PERFORM DATA_RETRIVE.
    **BUILDING THE FIELD CATALOG************
    PERFORM BUILD_FCAT.
    **BUILDING THE TABLE FOR LIST HEADER****
    PERFORM BUILD_LIST_HEAD.
    *******************************CALLING THE FUNCTION MODULE************
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        I_CALLBACK_PROGRAM     = SY-REPID
        I_CALLBACK_TOP_OF_PAGE = 'LIST_TOP_OF_PAGE'
        IT_FIELDCAT            = T_FCAT
        IT_SORT                = T_SORT
      TABLES
        T_OUTTAB               = T_TARGET.
    *&      Form  DATA_RETRIVE
    FORM DATA_RETRIVE .
    SELECT VBELN VKORG VTWEG SPART FKDAT FROM VBRK INTO CORRESPONDING FIELDS
    OF TABLE T_VBRK WHERE VBELN IN S_VBELN.
      IF SY-SUBRC EQ 0.
        SORT T_VBRK BY VBELN.
        SELECT VBELN POSNR MATNR ARKTX FKIMG NETWR FROM VBRP INTO TABLE
         T_VBRP FOR ALL ENTRIES IN T_VBRK WHERE VBELN = T_VBRK-VBELN.
      ENDIF.
      LOOP AT T_VBRP INTO W_VBRP.
        LOOP AT T_VBRK INTO W_VBRK WHERE VBELN = W_VBRP-VBELN.
          W_TARGET-VBELN = W_VBRK-VBELN.
          W_TARGET-VKORG = W_VBRK-VKORG.
          W_TARGET-VTWEG = W_VBRK-VTWEG.
          W_TARGET-SPART = W_VBRK-SPART.
          W_TARGET-FKDAT = W_VBRK-FKDAT.
          W_TARGET-POSNR = W_VBRP-POSNR.
          W_TARGET-MATNR = W_VBRP-MATNR.
          W_TARGET-ARKTX = W_VBRP-ARKTX.
          W_TARGET-FKIMG = W_VBRP-FKIMG.
          W_TARGET-NETWR = W_VBRP-NETWR.
          APPEND W_TARGET TO T_TARGET.
        ENDLOOP.
      ENDLOOP.
      SORT T_TARGET BY VBELN.
    ENDFORM.                    " DATA_RETRIVE
    *&      Form  BUILD_FCAT
    FORM BUILD_FCAT .
      W_FCAT-COL_POS = 1.
      W_FCAT-FIELDNAME = 'VBELN'.
      W_FCAT-SELTEXT_M = 'BILLING NO'.
      APPEND W_FCAT TO T_FCAT.
      W_FCAT-COL_POS = 2.
      W_FCAT-FIELDNAME = 'VKORG'.
      W_FCAT-SELTEXT_M = 'SALES ORGANIZATION'.
      APPEND W_FCAT TO T_FCAT.
      W_FCAT-COL_POS = 3.
      W_FCAT-FIELDNAME = 'VTWEG'.
      W_FCAT-SELTEXT_M = 'DISTRIBUTION CHANNEL'.
      APPEND W_FCAT TO T_FCAT.
      W_FCAT-COL_POS = 4.
      W_FCAT-FIELDNAME = 'SPART'.
      W_FCAT-SELTEXT_M = 'DIVISION'.
      APPEND W_FCAT TO T_FCAT.
      W_FCAT-COL_POS = 5.
      W_FCAT-FIELDNAME = 'FKDAT'.
      W_FCAT-SELTEXT_M = 'CREATION DATE'.
      APPEND W_FCAT TO T_FCAT.
      W_FCAT-COL_POS = 6.
      W_FCAT-FIELDNAME = 'POSNR'.
      W_FCAT-SELTEXT_M = 'BILLING ITEM'.
      APPEND W_FCAT TO T_FCAT.
      W_FCAT-COL_POS = 7.
      W_FCAT-FIELDNAME = 'MATNR'.
      W_FCAT-SELTEXT_M = 'MATERIAL NUM'.
      APPEND W_FCAT TO T_FCAT.
      W_FCAT-COL_POS = 8.
      W_FCAT-FIELDNAME = 'ARKTX'.
      W_FCAT-SELTEXT_M = 'DESCRIPTION'.
      APPEND W_FCAT TO T_FCAT.
      W_FCAT-COL_POS = 9.
      W_FCAT-FIELDNAME = 'FKIMG'.
      W_FCAT-SELTEXT_M = 'QUANTITY'.
      APPEND W_FCAT TO T_FCAT.
      W_FCAT-COL_POS = 10.
      W_FCAT-FIELDNAME = 'NETWR'.
      W_FCAT-SELTEXT_M = 'NET VALUE'.
      W_FCAT-DO_SUM = 'X'.
      APPEND W_FCAT TO T_FCAT.
    ENDFORM.                    " BUILD_FCAT
    *&      Form  BUILD_LIST_HEAD
    FORM BUILD_LIST_HEAD .
      DATA : L_DATE(10),
             L_TIME(8).
      W_LIST_HEAD-TYP = 'S'.
      W_LIST_HEAD-KEY = 'Sales org :'.
      W_LIST_HEAD-INFO = S_VBELN-LOW .
      APPEND W_LIST_HEAD TO T_LIST_HEAD.
      CLEAR W_LIST_HEAD.
      W_LIST_HEAD-TYP = 'S'.
      W_LIST_HEAD-KEY = 'TO '.
      W_LIST_HEAD-INFO =  S_VBELN-HIGH.
      APPEND W_LIST_HEAD TO T_LIST_HEAD.
      CLEAR W_LIST_HEAD.
    ENDFORM.                    " BUILD_LIST_HEAD
    *&      Form  LIST_TOP_OF_PAGE
    FORM LIST_TOP_OF_PAGE .
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          IT_LIST_COMMENTARY = T_LIST_HEAD.
    ENDFORM.                    " LIST_TOP_OF_PAGE
    <code>
    Regards

  • OTLR Rules to Split OT into 2 Different Elements based on Regular Time Element Chose

    Hi,
    We have a scenario where employees punch their time on either Time Worked - Onsite or Time Worked -Offshore. When the employee punches Time Worked - Onsite > 40 hours, the OT should go into OT-Onsite element and if the employee punches Time Worked - Offshore > 40 hours, the OT should go into OT-Offshore element.
    Is it possible to set the above scenario in OTL?
    Thanks,
    Ram

    Hi Russ,
    Thank you for reply - it helped find a work around.
    The deadlock situation was that all text boxes on master pages has flow tag "A" and one master page (1st page) has no "AutoConnect" box selected. Selecting this box does not help.
    After your suggestion I checked body pages - all flow "A". Then, trying to connect text boxes (in free order) I got a message "OK to use a text frame that is not visible?" and all pages becomes single flow.
    My conclusion - it was a disconnected text box hidden somewhere on the back. Some manual work was needed to restore the original page layout.
    Another Q: Quick Access Bar becomes floating - any way to fix it back to the top of the window?
    Thanks again for the tip - it solved my problem. And many other problems too just by reading answers from you and others.
    Slava

  • When sorting my music in iTunes by artist, the albums are split up into multiple different albums. Any help?

    I have just recently downloaded the Californication album by the Red Hot Chili Peppers. I like to sort my iTunes by artist. But then if I want to see all the albums by an artist, it shows that I have multiple Californication albums. 3 or 4 songs will show up on each of the "other" Californication albums. How do I get them to all sit together under one album cover, when I sort by artist? Any help would be greatly appreciated..

    Generally all you need to do is fill in an appropriate Album Artist. For more details see my article on Grouping Tracks Into Albums, in particular the topic One album, too many covers.
    tt2

  • How to display each character of an input string in different rows

    Dear Members,
    I want to write a SQL or PL/SQL where in I can separate and display each character of an input string into multiple rows.
    For eg, the input string is TESTING, I want the result to be displayed as following:
    1 T
    2 E
    3 S
    4 T
    5 I
    6 N
    7 G
    I know we can use substr, but it returns me only one or more than one characters consecutively.
    Please help me get the desired output.
    Thanks in advance.

    Hi,
    Perhaps
    with a as
    select 'TESTING' text from dual
    select level, substr(a.text,level,1)
    from a
    connect by level <= length(a.text)

  • How to  Trunc one number and Round another number in different row?

    Here is a sample where I take a percent of a number.
    <code>
    SELECT 40*.5 AONE, 'A' aname
    FROM DUAL
    UNION ALL
    SELECT 121*.5 AONE, 'B' aname
    FROM DUAL
    UNION ALL
    SELECT 121*.5 AONE, 'C' aname
    FROM DUAL
    UNION ALL
    SELECT 80*.5 AONE, 'D' aname
    FROM DUAL
    </code>
    this gives me
    20 A
    60.5 B
    60.5 C
    40 D
    I want to TRUNC one number and ROUND another number where the number has a
    "0.5" so I would have
    20 A
    61 B
    60 C
    40 D
    I will have more than 4 records, just trying to keep it simple.
    Suggestions?
    TIA
    Steve42
    Edited by: Steve42 on Dec 5, 2011 1:44 PM

    I missed you only want to truncate/round where value fractional part is .5:
    WITH SAMPLE_TABLE AS (
                          SELECT 40*.5 AONE, 'A' aname FROM DUAL UNION ALL
                          SELECT 121*.5 AONE, 'B' aname FROM DUAL UNION ALL
                          SELECT 121*.5 AONE, 'C' aname FROM DUAL UNION ALL
                          SELECT 80*.5 AONE, 'D' aname FROM DUAL
    SELECT  CASE MOD(ABS(AONE),1)
              WHEN .5 THEN
                        CASE MOD(ROW_NUMBER() OVER(ORDER BY CASE MOD(ABS(AONE),1) WHEN .5 THEN ANAME END NULLS LAST),2)
                          WHEN 1 THEN TRUNC(AONE)
                          WHEN 0 THEN ROUND(AONE)
                        END
              ELSE AONE
            END AONE,
            ANAME
      FROM  SAMPLE_TABLE
      ORDER BY ANAME,
               ROW_NUMBER() OVER(ORDER BY CASE MOD(ABS(AONE),1) WHEN .5 THEN ANAME END NULLS LAST)
          AONE A
            20 A
            60 B
            61 C
            40 D
    SQL> SY.
    Edited by: Solomon Yakobson on Dec 5, 2011 5:05 PM

  • How to display records from a query into non-database field

    Hi
    I a have a problem:
    I have a query with many tables and 6 column(select a,b,c,d,e,f from x,y,z,t,s,g where conditions) and I use 3 parameters.
    I create 3 parameters :datai,:dataf and :partener and a button with a trigger when button is pressed.
    Then a create a manualy block with six field non-database a1,b1,c1,d1,e1,f1.
    Now I want to display all the records from my query into a1,b1,c1,d1,e1,f1 where a1=a,b1=b,etc. and all the records (if I have 20 record, it will display 20 records in non-database field) when I press the button.
    How I made:
    I create a cursor with query then
    begin open cursor
    loop
    fetch cursor into :a1,:b1,:c1,:d1,:e1,:f1;
    end loop;
    close cursor;
    end;
    It display one record in a1,b1,c1 only and it have to display 100 records and are date for all the fields.
    Can somebody help me in this problem?
    Thanks.
    Edited by: 928437 on Oct 1, 2012 2:55 AM

    Creating a view, and querying that into a database block is an excellent solution.
    To use the non-database block:
    You're missing the all-important Next_Record; command.
    <pre> Begin
    Go_block('X'); -- block X is the non-database block
    Clear_Block(No_Validate);
    open cursor X1;
    loop
    If :System.Record_status != 'NEW' then
    Next_Record;
    End if;
    fetch X1 into :a1,:b1,:c1,:d1,:e1,:f1;
    Exit when X1%NOTFOUND;
    end loop;
    close X1;
    end;</pre>

  • "ADF Databinding for TopLink" - only one record?

    I went through this tutorial <http://otn.oracle.com/products/jdev/collateral/tutorials/9050/toplinkdatabinding_tut.html> and have successfully run it in the IDE, however, it only ever displays one record -- the paging buttuns don't seem to do anything.
    The only step where I think I might have introduced some error was in the renaming of the 'untitled.uix' file -- so for a while I would up with two uix files, and perhaps my struts flow page is not right.
    Should the 'browseDepartmentsDataAction' be pointing at itself?

    Ben,
    We are now successfully deploying from JDev 10g preview to OC4J 9.0.4. We /don't/ do the 'install runtimes' from JDev, and our WEB-INF\lib looks like this:
    03/17/2004  06:30p             235,178 bc4j_jclient_common.jar
    03/17/2004  06:30p             780,340 bc4jct.jar
    03/17/2004  06:30p             300,697 bc4jhtml.jar
    03/17/2004  06:30p           1,556,232 bc4jmt.jar
    03/17/2004  06:30p              40,883 bc4juixtags.jar
    03/17/2004  06:30p             259,265 collections.jar
    03/17/2004  06:30p             118,726 commons-beanutils.jar
    03/17/2004  06:30p             165,119 commons-collections.jar
    03/17/2004  06:30p             109,096 commons-digester.jar
    03/17/2004  06:30p             112,307 commons-el.jar
    03/17/2004  06:30p              22,379 commons-fileupload.jar
    03/17/2004  06:30p              63,980 commons-lang.jar
    03/17/2004  06:30p              31,605 commons-logging.jar
    03/17/2004  06:30p              46,865 commons-validator.jar
    03/17/2004  06:30p             133,694 datatags.jar
    03/17/2004  06:30p              16,982 graphtags.jar
    03/17/2004  06:30p              65,368 jakarta-oro.jar
    03/17/2004  06:30p               3,086 jsp-el-api.jar
    03/17/2004  06:30p           5,676,773 oc4j.jar
    03/17/2004  06:30p             815,637 ojc.jar
    03/17/2004  06:30p               3,503 oracle-el.jar
    03/17/2004  06:30p              29,871 regexp.jar
    03/17/2004  06:30p              53,389 servlet.jar
    03/17/2004  06:30p              55,994 share.jar
    03/17/2004  06:30p             498,051 struts.jar
    03/17/2004  06:30p           3,539,611 toplink.jar
    03/17/2004  06:30p           2,752,707 uix2.jar
    03/17/2004  06:30p               2,147 uixadfrt.jar
    03/17/2004  06:30p             974,690 xercesImpl.jar
    03/17/2004  06:30p             186,926 xmlcomp.jar
    03/17/2004  06:30p             687,065 xmlparserv2.jarIt sounds to me like something in your workspace is not in synch for the taglibs you're using. Note that JDeveloper automatically ads tld files to your project when you select taglibs, but if you're keeping your project in CVS and didn't add those files, then they may not be present if you check out your project on another machine.
    Also, we still have to copy the sessions.xml from classes/META-INF to classes/ in order for TopLink to find it.
    The sealing violation is probably from either a duplication of jars on your path, or JDeveloper opened up a jar into your WEB-INF/classes directory and the class is complaining that it's not in its original jar (or something like that.)
    Hope that helps...

Maybe you are looking for

  • Calendar events not showing up in list view

    Hi, some of my events are not showing up in list view. They are synced to the iphone. I can see them in day and month view. It seems to me that events created with ical and synced through MM are not showing up, but I'm not sure. Any idea? Wilfried.

  • Unable to Extend the VO of iExpense "Create Expense Report"

    Hi OAF Gurus, I have done several VO Extensions successfully but facing issues in this one. Screen shots an be seen at : (+Tech Stack , Development Steps+ ) [http://picasaweb.google.com/chaitanyadubey/IExpenseVOExtension#|http://picasaweb.google.com/

  • Scsi to Firewire adapter

    I want to use my old microteck scanner with my iMac but since my scanner uses a scsi, I would need an adpapter. Couple of questions: 1. Should I get a scsi to Firewire or scsi to USB? Which is faster (I'm guessing firewire but not sure) 2. Where can

  • Why is itunes change some that i didnt buy ? also they are taking 21.87 more then i spend.

    why is itunes change some that i didnt buy ? also they are taking 21.87 more then i spend.

  • Software update for OS 10.0.10.738

    Hello,      Please how do I update my version to from 10.0.10.738 to 10.1? My carrier Tmobile has the update for 10.1 but they do not support my OS version because it is a third party phone,  they suggested I contacted blackberry. I am getting really