Nested table in the table

Hi,
I have a table that has a column which is actually a nested table. How can I create a form based on that table ? Can a table have more than one nested tables ? If yes, then how do we create blocks for such table ?
I am using Oracle 9.0.2 database and forms builder Version 9.0.2.7.0.
I have an example:
create type sh_obj as object(
street varchar2(10),
state char(2),
zip varchar2(9));
create type sh_add as table of sh_obj;
create table sh_tab(id number(2),
fname char(5),
addresses sh_add)
NESTED TABLE
addresses
STORE AS
sh_addresses;
So my main table is 'sh_tab' and nested table is 'sh_addresses'. Would I create two blocks seperately ? If yes, then do I need to define any relationship between them ?
Thanks!
Shalu

Forms does not support Nested Tables. All you can do is to base the block on a stored procedure and then manually handle the mapping in the stored procedure.

Similar Messages

  • How to add the Row count(number of rows in table)  in  the table header?

    Hi,
    I'm having a table. This table is viewed when i click on a search button.
    <b>On the table header it should dynamically display the number of rows in the table, i.e., the row count.</b>
    How to do this? could any one explain me with the detailed procedure to achieve this.
    Thanks & Regards,
    Suresh

    If you want to show a localized text in the table header, you should use the <b>Message Pool</b> to create a (parameterized) message "tableHeaderText" like "There are table entries".
    Next, create a context attribute "tableHeaderText" of type "string" and bind the "text" property of the table header Caption UI element to this attribute.
    Whenever the table data has changed (e.g. at the end of the supply function for the table's data source node), update the header text:
    int numRows = wdContext.node<TableDataSourceNode>().size();
    String text = wdComponentAPI.getTextAccessor().getText
      IMessage<ComponentName>.TABLE_HEADER_TEXT,
      new Object[] { String.valueOf(numRows) }
    wdContext.currentContextElement().setTableHeaderText(text);
    Maybe you want to provide a separate message for the case that there are no entries.
    Alternatively, you can make the attribute calculated and return the header text in the attribute getter.
    Armin

  • Missing tables in the Table tree

    I installed SQL developer version 1.5.0.52 and I noticed that some of the tables that should be showed in the tree were missing. Although I can see these tables writing a command :
    Select * from user_tables where table_name like 'AQUA%'
    Also, I can use these tables in queries and the 'Find DB Object' find them but these tables are not showed in the tree. The owner has more then 600 tables and I didn't notice a problem like this in previous versions of SQL Developer.
    Has somebody any idea about?
    Thank you

    I am also experiencing the same issue, although no tables / views / indexes / triggers are displayed in the object tree for any of my connections.
    I am using verison 1.2.1. Will downloading version 1.5.0.52 fix this issue? Thank You

  • IWork Numbers program. I am trying to create a 'Master Table'. The table will be used on numerous sheets, when cells altered on the 'Master' it will show on all sheets using the Master table. Is this a possibility??

    iWORK NUMBERS
    I am trying to create a 'Master Table'. This table will be used on numberous sheets, however not all. Items entered into the cells in the Master Table will then reflect in the used sheets that have the Master Table linked.
    On the individual pages however, they will be able to be altered purely for that page.
    Hope I have explained myself clearly,
    Would appreciate any help,
    Cheers,

    Hi Hilary,
    The formula in the Index column of the Main table is:
    E2: =IF(A,MAX($E$1:E1)+1,"")
    Fill down to the end of column E.
    The Breakout table contains a single formula:
    A2: =IF((ROW()-1)>MAX(Main :: $E),"",OFFSET(Main :: $A$1,MATCH(ROW()-1,Main :: $E,0)-1,COLUMN()))
    Fill down and right to fill the table.
    For multiple rooms (with different data transfered to each) you'll need a column of checkboxes and a corresponding index column for each room.
    The index columns can be hidden.
    Contents in individual cells in the breakout tabel(s) can be entered directly, replacing the formula. To retun to the calculated result, select a cell adjacent to the one where text was entered, and drag the Fill control handle (small circle, bottom right of the selection rectangle) to fill the formula back into that cell.
    Regards,
    Barry

  • Create a View with many tables with the Table-Fieldnames

    Hello!
    Question 1)
    Which kind of view is the correct for joining
    many tables together.
    Question 2)
    What is the solution in case of having several tables
    with the same fieldnames by creating a view. How can I choose this fields
    into a view. I cant use the same name twice in section
    (tab strip) ViewFlds.
    Regards
    Ilhan

    Hi Ilhan,
    There is no problem in the view fieldname you can put something like this :
    This is you who choose the view field name so...
    View Fieldname         Table           Field
    VBAK_VBELN           vbak             vbeln
    vbap_vbeln                 vbap             vbeln
    Erwan

  • How to add repeating table inside the table in Infopath?

    I am customizing a list in sharepoint Infopath 2013.
    Now I want to add Repeating table inside a table but when I am doing It I am getting the below error:
    "This table can not be converted into repeating table. To fix this problem, add one or more controls to the repeating row and try again,"
    What should I do next?
    Thanks in Advance.

    Hi Darsh,
    I tested the same scenario per your post in my environment, however it worked fine when I inserted a repeating table to the ordinary table in InfoPath form.
    How did you modify the SharePoint list form in InfoPath and how did you insert the repeating table?
    Based on the error message, it seems like you were converting the ordinary table to repeating table.
    To insert a repeating table inside the ordinary table, we can use this Repeating Table button under Home tab in InfoPath Designer.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Which table lists the table types of a system

    Hi!
    I know that DD02L contains which tables there are in the system. But which table contains which table types that are in the system?
    Regards Anders

    DD40L                          Table types (internal tables defined in DD)
    DD40T                          Text on table types
    DD42S                          Key fields for table types (internal tab. define
    DDTYPES                        Table of all Dictionary types and classes
    DDTYPET                        ABAP/4 Dictionary: Texts for type groups

  • Multiple tables with the possibility of multiple records in each table

    Post Author: viper
    CA Forum: .NET
    Hi
    I have been trying for a few days now to come up with a CR solution to displaying data from multiple tables.  These tables, in some cases, have more then one record that needs to be displayed.  This is basically what I am trying to do.....
    I am developing a .net web application(vb) using vs2005 and an oracle 10g backend.  There is a data entry part of the site that users will enter data related to a property.  Other users will be able to search these records and have a list of records returned based on the search criteria.  The user then can click on one of these records to view a pop up CR report containing all the data related to that one property.  The PropID is passed to the pop up page and is used in the WHERE clause of my SQL statement to bring back only one property.  This data can come from as many as 18 tables if all the fields have been entered for this property.  I have tried many different solutions to get the data from multiple tables...and have had some that were close to what I need.  The best one I have will display data from multiple tables but only one record per table.....which doesn't work in my case since some of the tables have more then one record per table.
    Is there anybody that has had success in setting up similar reports?
    Does anybody know how I could use the "Group Expert" to group by the tables in my application?  I can only figure out how to group within a single table.
    It would be great if I could group by table....then just display the record(s) in each table that had the same PropID.  I am not sure if the pdf export would show all the data in that situation but it would be worth a try.  If fact...maybe I could create a new table called MyTables and just add two colums like MyTableID and MyTableName.  Then add all the table names to MyTables that I want to see in the report and add the associated MyTableID value to each table as a new column.  I could then group by MyTableID and PropID.  Just guessing here.
    Any ideas would be appreciated.

    Post Author: quafto
    CA Forum: .NET
    Your query is not too clear so I'll do my best to answer it broadly.
    You mentioned that you have a .NET web application where your users enter data on one screen and then may retrieve it on another. If the data is written in real time to a database then you can create a standard Crystal Report by adding multiple tables. The tables should be linked together using the primary and foreign keys in order to optimize the database query and give you a speedy report. Using unlinked tables is not recommended and requires the report engine to index the tables (it is quite slow).
    You also mentioned you have a "PropID" to be used in a WHERE clause. This is a great place to use a parameter in your report. This parameter can then be used in your record selection formula inside Crystal Reports. The report engine will actually create the WHERE clause for you based on the parameter value. This is helpful because it allows you to simply concentrate on your code rather than keeping track of SQL queries.
    Now, what Crystal does not do well with is uncertainty. When you design a report with X number of tables the report engine expects X number of tables to be available at processing time. You should not surprise the print engine with more or less tables because you could end up with processing errors or incorrect data. You may need to design multiple reports for specific circumstances.
    Regarding the group expert question. I'm not sure how you would/could use the group expert to group a table? A table is a collection of fields and cannot be compared to another table without a complex algorithm. The group expert is used to group and sort records based on a field in the report. Have a look at the group expert section of the help file for more information.
    Hopefully my comments have given you a few ideas.

  • Get all the rows of the table

    Hi,
         In my example I want to get all the rows of the table. The table has 20 rows. The visibleRowCount is set to 7 and firstVisibleRow is set to 3.
         I have created the table as
         var oTable = new sap.ui.table.Table({
               id: "oTable",
               title: "My Table",
               visibleRowCount: 7,
               firstVisibleRow: 3,
               selectionMode: sap.ui.table.SelectionMode.Single
         I tried to get the rows of the table using the below code
         var table = sap.ui.getCore().byId("oTable");
         var rows = table.getRows();     //     Returns only 7 rows     
        How to get all the rows of the table when the table is populated with a odata service  ?       

    Hi Vishal,
    The table only put in the html file the rows that you define in visiblerowcount (rows control). The method getRows, get this controls, and you only have 7. The table control render automacatically the data in thats rows when you scroll on it.
    If that you want is to retrieve the data of the rows, you need catch it from the model:
    oTable.getModel().getData();
    Regards,

  • Saving the table content into one excel sheet

    Hello,
    I have got following problem:
    I'm measuring data with a DAQ card. I'm interested in the min and max value of the measured data. Therefore I'm using the Amplitude and Level measurent function. Its no problem to display the results in the graphical interface. What causes me trouble is to save the content of the displayed table into some kind of file. Anybody know a solution?
    Thanks!

    The problem is that I use the descriped min/max function. If I write it to a text file I get a lot of additional information every second.
    Following example shows what is written to the measurement file:
    Channels 6      
    Samples 1 1 1 1 1 1 
    Date 2010/03/05 2010/03/05 2010/03/05 2010/03/05 2010/03/05 2010/03/05 
    Time 14:26:48.9938435554504394532 14:26:48.9938435554504394532 14:26:48.9938435554504394532 14:26:48.9938435554504394532 14:26:48.9938435554504394532 14:26:48.9938435554504394532 
    Y_Unit_Label Volts Volts Ampere Ampere Ampere Volts 
    X_Dimension Time Time Time Time Time Time 
    X0 0.0000000000000000E+0 0.0000000000000000E+0 0.0000000000000000E+0 0.0000000000000000E+0 0.0000000000000000E+0 0.0000000000000000E+0 
    Delta_X 0.001000 0.001000 0.001000 0.001000 0.001000 0.001000 
    ***End_of_Header***       
    X_Value U_1 (Positive Peak) U_2 (Positive Peak) I_3(Positive Peak) I_1 (Positive Peak) I_2 (Positive Peak) U_3(Positive Peak) Comment
    0.000000 3.461911 3.189588 0.115779 2.103480 0.739258 1.206654
    This kind of information is not displayed if I visualize it in a table. The table only shows me the time and the corresponding min/max values. These values are updated every second.
    I tried to write it to a spreadsheet,  this approach was also not successful since a new spreadsheet was opened/generated every second respectively every time a new min/max value was aquired.
    I would like to safe the data fro, the table to a file without the additionál information showed above in the example.
    Thanks!

  • Data in the table changes when multiple users try to submit data

    I have a dynamic table. The table is created in the wdDoModifyView. The user can load data into the table from an excel file. So I have a "Load" button that loads the data from the selected excel file to the table. I also have a "Submit" button. This "Submit" button converts the data to an xml file and make a call to an oracle stored procedure for validation check. If there's an error it will be returned and displayed to the user. If none, a summary of data for posting will be displayed to the user. If the data is correct and the user hit the ok button, the same data will be return to oracle sp for loading in the table.
    The problem we encountered is when multiple users are loading and submitting at the same time, the data displayed in the dynamic tables changes after clicking the ok button. It is as if, the table displays the data being loaded by other user.
    This is an error that is difficult to recreate. This doesn't happen all the time. I hope you somebody could enlighten me why this is happening. I'm not sure if it has something to do with multithreading or session.
    Edited by: Marlyn Agco on Apr 14, 2009 3:57 PM

    Hi Armin,
    Did you mean storing view instances in static references and accessing them outside the wdDoModifyView is not a good idea? In wdDoInit the nodes are dynamically created according to the xml file being returned by the database. This node is stored in a static variable which is also used in wdDoModifyView to create the dynamic table.
    What do you suggest? We're still encountering same issue when multiple users are uploading data.

  • TABLE - How to set the row in the table

    I have a problem where I have a selection on one view and then call a second view to display the results in a table. The table displays 5 rows. I then go down to the 20th row and select the row. When I have finished processing, I still have row 20 selected and I go back via a plug to the selection screen. I then enter new criteria and go back to the second view and the table displays that data showing row 20 as the first row. How do I get it to go back to row 1 every time I go into the second view??

    Hello Graeme,
    assuming i understand the problem, as a quick solution it would perhaps help to set the lifetime of the second view from "framework controlled" to "when visible" (in the properties of the view). Another way could be to explictly invalidate the context node holding the data for the second view after having left the view.
    Kind regards
    Andreas

  • How to find out the table name

    hi,
    how to find out the table name in which the data from a particular structure in a particular screen is saved,
    please tell me the procedure to find out the table name for saving the structure data that is inputted at runtime.
    Thanks,
    chinnu

    Hi Chinnu,
    Below are the tables that are referred to find out the table names
    DD02L Table contains the SAP Tables.
    DD02T Table contains the SAP Table Texts.
    DD01L Table contains the Domains
    DD01T Table contains the Domain Texts.
    DD03L Table contains the Table Fields.
    DD03T Table contains the Table Field Texts. (Language Dependent)
    DD04L Table contains the Data Elements.
    DD04T Table contains the Data Element Texts.
    DD05s Table contains the Foreign Key Fields
    last words with L and T only. L->Database Fetch T-> Text
    And the procedure to retrive the table name is as follows
    1. Go to se11
    2. Enter table name DD03T and execute
    3. In the next screen you can find Tables, fields, test etc. there you can enter the field name in the fields 
      and execute.
    4. you can get all tables which contains the field.
    I hope this will solve your problem
    Regards,
    Chandru

  • How to Delete rows in the database table by using Table Control

    Hi Experts,
    I wrote one program.
    In that program i used table control.
    I displayed data from database table in the table control, but i want to delete selected rows.
    Can anybody please tell me this by writing sample code
    thank you
    Basu

    Hi ,
    Pls try this coding below or check the prg demo  - RSDEMO02 in se38
    WHEN 'DELL'.
    * remove marked lines
          LOOP AT IT_SPFLI WHERE MARKED = 'X'.
            DELETE IT_SPFLI.
          ENDLOOP.
          IF SY-SUBRC <> 0.
            GET CURSOR FIELD FLD LINE LINNO OFFSET OFF.
            SET CURSOR FIELD FLD LINE LINNO OFFSET OFF.
            IF FLD CP 'IT_SPFLI*' AND SY-SUBRC = 0.
              LINNO = LINNO + TC_SPFLI-TOP_LINE - 1.
              DELETE IT_SPFLI INDEX LINNO.
              TC_SPFLI-LINES = TC_SPFLI-LINES - 1.
            ENDIF.
          ENDIF.
    or another eg :
    MODULE USER_COMMAND_0100 INPUT.
        SAVE_CODE = OK_CODE.
        CLEAR OK_CODE.
        CASE SAVE_CODE.
    WHEN 'DELE'.
                CALL FUNCTION 'COPO_POPUP_TO_GOON'
                    EXPORTING
                         TEXTLINE1 = 'Selected rows will be deleted!'
                         TEXTLINE2 = 'Are you sure?'
                         TITEL     = 'Delete rows'
                    IMPORTING
                         answer    = confirmation.
                IF CONFIRMATION = 'G'.
                    REFRESH ITAB_PHONELIST.
                    CLEAR ITAB_PHONELIST.
                ENDIF.
    MODULE EXTRACT_USERDATA INPUT.
        CASE SAVE_CODE.
            WHEN 'DELE'.
                IF SELECTION IS INITIAL AND
                   confirmation = 'G'.
                     CLEAR ITAB_PHONELIST.
        ITAB_PHONELIST-NAME = RECORD-NAME.
        ITAB_PHONELIST-PHONE = RECORD-PHONE.
        ITAB_PHONELIST-EMAIL = RECORD-EMAIL.
        APPEND ITAB_PHONELIST.
    <b>Reward pts if found usefull :)</b>
    regards
    Sathish

  • Transfer Data from a JTable to the table model

    Hi
    I' looking for a simple method to transfer the last user input in a table to the table model.
    For example:
    In a Dialog the user insert in a JTable a few values and leaves with OK. But the last input is not saved in the model. It is just saved after selecting a new field in the JTable before leaving the Dialog.
    Is there a call to transfer all input to the model?
    Thanks
    Guido

    class MyJTable extends JTable (
    public boolean validateInput() {
    if(isEditing()) {
    return cellEditor.stopCellEditing();
    return true;
    Call this method whenever you want the input value to be stored in the table model. The return value can be false if the input isn't valid, this will depend on the cell editor.
    The idea is:
    Ask if the table has an editor activated. (isEditing())
    If so, request the editor to store the value in the model.
    I haven't prouved the code, sorry, but I hope you get the idea and helps.

Maybe you are looking for

  • Printing in blank on linux

    My application use Java Print Service, prints well in windows, but in linux it only prints blank. Please Help me !!! This is example code import java.awt.geom.*; import java.awt.font.*; import java.awt.event.ActionListener; import java.awt.event.Acti

  • Mac mini bluetooth and safari problems

    I have done research on the boards,and so far haven't found a solution so i decided to make my own discussion. I have a 2009 mac mini that has run fine until this last month.When comeing out of sleep, the bluetooth magic mouse doesn't work. When i pl

  • My iphone 5 cant connect to itunes store apps

    i tried to connect my apple id to my iphone 5 and everytime i press sign in it give me a msg it say CANT CONNECT TO ITUNES

  • Error message UCM subscriber

    Getting error on UCM SUB every minute And the thread count on the tomcat service is over 2000 The IPMA service is running, I've restarted the tomcat and IPMA service but still seeing error This is only happening on 1 of the SUB in cluster, the PUB an

  • How can i transfer my journal to other batch ?

    hi all is it possible to transfer my journal to other batch if is it posible plz let me know thnks