Is it possible to duplicate a row in a table and the values entered by u

PDF LiveCycle Designer  : Is it possible to duplicate a row in a table and the values entered by the user?

[Move to LiveCycle Designer]

Similar Messages

  • How to display four rows in one table and the rest in another table?

    Hello everybody,
    I am trying to solve a problem that I cannot find any direct answers to.  In essence the problem goes like this:
    1) I want to populate two tables from xml data.
    2) The first table should only diplay the first four rows of data.
    3) The second table should display the rest of the rows (starting from row 5).
    I can create the first table so that it only shows up to the first four rows.
    I cannot find a way to set up the second table so that it shows the rest of the rows starting at row 5.
    To illustrate the problem I have attached my livecycle template file with the two table definitions and the corresponding xml data.  If you put these two files in the same directory and open the pdf file using LiveCycle designer you should see what I mean. (The table with column heading 'Item List 2' shows all of the records in the xml file when I only want it to show records 5 and 6)
    Some other niggling issue I have come up against is the data displays differently when I open the pdf file with Adobe Acrobat pro and then use the Forms/manage form data/import data menu to bind that xml file.  ( For some the 'Item List 2' table does not display any data)  Does anybody know why that is occurring?
    Any help on this would be very much appreciated because it will help me get past a significant issue I am running into with a complex form I am trying to build for a client of mine.
    Note:  I am using Adobe Acrobat Pro version 9 and the Adobe Livecycle is version 8.2.1
    Thanks in advance.
    Geoff.

    Hi,
    First solution is you can play with predicates:
    val value = 4
    var items= Ref(xfa.resolveNodes(concat("$record.itemsCollection.item.[itemNumber>""",value,"""]")))
    after that you will have to use addInstance and assign all fields by scripting. It is hard way.
    Second solution you can simply hide unneccessary rows by putting initialise script on item row:
    if (this.index <4){this.presence = "hidden" }
    Hope this helps.
    Paul Butenko

  • When using multiple tables in different sheets is it possible to delete cell/rows on all tables at the same time?

    I have recently changed from Excel to numbers and i can't  work out how to change cells. I have a sheet for each month, on that sheet i have all my outgoings on a daily basis. Those cells are the same in every table. In Excel i could hold shift and click the tab for each month and then change the information in all those cells. Can i do this in Numbers, if so how?

    This is not a feature of Numbers.

  • Hello I have a problem in calculating the apple id Can you help me please   I forgot answer security questions for your account How can knowledge Please help Please reply as soon as possible   I can not buy from camels Store And the rest of the account ba

    Hello
    I have a problem in calculating the apple id Can you help me please
    I forgot answer security questions for your account How can knowledge
    Please help
    Please reply as soon as possible
    I can not buy from camels Store
    And the rest of the account balance  $25
    Message was edited by: lingo azam

    I think you mean App Store.
    Rescue email address and how to reset Apple ID security questions

  • Select discontiguous rows in a table with the keyboard

    I am using jdk 1.3.1 and have tried this on 1.4 as well. I don't seem to be able to select discontiguous rows in a table using the keyboard. I can Ctrl-click with the mouse to do this but can't find a way to do this with the keyboard. I searched and found somebody asked this same question before and the reply was it works in 1.3.1. I am not seeing this. What could I be missing? The Ctrl-Up and Ctrl-Down keys don't do anything and neither does the spacebar.

    I'm pretty sure you can't do this using the standard JTable interface.
    You might be able to write your own keyboard listener and fake focus events for up&down arrow, but making this work seamlessly with JTable seemss like it would not be trivial.

  • Insert multiple rows in on table and retreive sequence values

    Hello,
    I'm searching a way to insert several rows in a table that needs a sequence and retreive its.
    For one row i use ExecuteScalar method with the following SQL is :
    INSERT INTO MY_TABLE(MY_PK)
    VALUES(SEQ_MY_TABLE.NEXTVAL) RETURNING MY_PK INTO :MY_PARAMETER
    The aim is to insert several rows at one time. Currently I execute this SQL :
    INSERT INTO MY_TABLE(MY_PK, MY_VALUE)
    SELECT SEQ_MY_TABLE.NEXTVAL, MY_VALUE
    FROM (
    SELECT 0 MY_VALUE FROM DUAL UNION ALL
    SELECT 1 MY_VALUE FROM DUAL
    This query works well but i'm wondering how to retreive all sequence values generated by this query.
    Is it possible and how ?
    Thank you.
    Sebastien

    I tried this :
    string sql = "INSERT INTO MY_TABLE(MY_PK, MY_VALUE) " +
    "SELECT SEQ_MY_TABLE.NEXTVAL MY_PK, MY_VALUE FROM ( " +
    "SELECT 0 MY_VALUE UNION ALL " +
    "SELECT 1 MY_VALUE) " +
    "RETURNING MY_PK BULL COLLECT INTO : RETURN_IDS";
    using(var manager = myFactory.CreateDbManager()) // Initializes the connection and encapsulates ADO objects
    manager.SetCommand(sql);
    var cmd = (OracleCommand)manager.Command;
    cmd.ArrayBindCount = 2;
    var p = new OracleParameter();
    p.DbType = DbType.Int64;
    p.ParameterName = "RETURN_IDS";
    p.Direction = ParameterDirection.Output;
    p.CollectionType = OracleCollectionType.PLSQLAssociativeArray;
    p.Size = 2*sizeof (long);
    cmd.Parameters.Add(p);
    cmd.ExecuteNonQuery();
    var result = (Oracle.DataAccess.Types.OracleDecimal[])p.Value;
    But I have an error ORA-00933 that indicates that the query is wrong at "RETURNING MY_PK".
    .......................................................................................................^
    Edited by: CITnDev on 1 août 2012 13:00
    Edited by: CITnDev on 1 août 2012 15:10

  • In my Macbook Pro finder folder under All Images, there are duplicate files, but one is small and the other is full size. I wanted to clean up the files, but don't know why I have two of everything. Any Ideas?

    In my Macbook Pro, the Finder folder has duplicate images in the 'all images' file. One image is small and the other is full size. First question is why do I have two of every image? Why is one small and the other large. Do I need two of everything? If not, which do I delete?
    thanks, Jean

    Hello fane,
    Re: duplicate images in finder.
    Nearly all images are JPG with a few GIF and PNG sprinkled in.
    I opened the inspector so I do get info when opening each image, but it a slow process.
    It seems that one image is around 70k while its twin can be up to 4Mb which is what comes unedited from my camera. Sometimes there will be 3 or 4 identical images in finder, but when I open iPhoto to see what ‘s really in the file, I find only one image, and it’s full sized.
    Are all these extra images, even if they are aliases, taking up space on my drive? And should I delete them? The info bar says I have over 10,000 images, which is rather a lot  for what I do.
    I am unable to add the file size on the view menu as it is grayed out. Don’t know why it’s gray, but having that info on the screen would save a lot of time and fiddling with each image.
    I am trying to resize selected pix so I can upload them to e-bay, which requires less than 70k. I have looked at resizing programs but most are for PC platform and not Mac, so I am trying to resize in the finder window under tools. Tedious at best. Any suggestions will be appreciated
    Thanks for your help,
    jeanfromwilsonville

  • Need help in SQL Query: Update a row in a table & insert the same row into another table

    I want to update a row in a table say Table A and the updated row should be inserted into another table say Table B. I need to do it in a single SQL query and i don't want to do it in PL/SQL with triggers. And i tried with MERGE statement but its working with this scenario. (Note: I'm using Oracle Database 10g Enterprise Edition Release 10.2.0.1.0).
    Thanks in Advance.

    Using Sven's code as an example, you could save the updated row in a sql plus variable. (also untested):
    SQL> var v_id number
    update tableA  
    set colB='ABC' 
    where colC='XYZ' 
    returning id into :v_id;
    insert into table A_History (ID, colA, colB, ColC)  
    select id, ColA, ColB, ColC  
    from tableA  
    where id = :v_id;   

  • How to populate the selected row details of table in the next view?

    hi,
    Im having a table, on selecting a particular row of a table by clicking on a radio button. i need that row details to be passed on(populated) to the next view when i navigate to that view by clicking on a button?
    Thanks & Regards,
    Suresh

    Hi Suresh,
    Your scenario is simple. Just follow the ex as shown below
    (Assuming you want default selection view provided by table itself.)
    1>Create 2 views (Ex:A and B)
    2>Create a Context with a node and attributes(For Ex:Person as node and Fname and Last Name as attributes
    2>In A view create a table with F name and L Name(map to context as well) and a action button to navigate to B view when you selected a particualr row o.k
    3>In B view, create a TextView with mapping to LastName(or all the data if you want from input selection) from the context
    If you want you can add back action button from B view to A view for easy navigation.
    4>Execute the application and select any row in the table appeared, press next action button,you can see that the selected row details will be shown in second(B) view.
    If you do the above example, I think you can easily find the solution for navigation issue.. try it out.
    In case if you are not able to ...let me know..I have that example.
    Hope that helps
    Regards
    Praveen

  • Query to insert a row in a table with same values except 1 field.

    Suppose I have a table with 100 columns(fields).
    I want to insert a row with 99 fileds being the same as previous ones except one fileld being different.
    The table doesn't have any constraints.
    Kindly suggest a query to solve the above purpose..

    And for much more lazy people, a desc of table is shorter to write. :-)
    Then copy & paste into any editor, then mode column to add a comma after every column name in one shot.Or have the system do it for you. Be lazy.
    SELECT Column_Name || ',' FROM User_Tab_Columns where Table_Name = '';
    Indeed, it can be converted to a script called desc(.sql)
    SELECT Column_Name || ',' FROM User_Tab_Columns where Table_Name = '&1' ORDER BY Column_Id;
    Then desc or @desc.

  • Scroll all the rows in a table except the first row

    I have an HTML table
    for eg...
    <html>
    <div style="height:100px;overflow:auto">
    <table>
    <tr><td>xyz</td></tr> ///this row should not scroll
    <tr><td>123</td></tr> ///the rows repeated 100 times to allow scrolling
    </table>
    </div>
    </html>
    it gives me a nice table with a vertical scroll bar. What I want is my first row should not scroll. The scroll bar should be applicable from rows 2-100. I am not able to use this <div> tag exclusively to <tr>. Any inputs as to how this can be achieved.
    Raghav

    The whole problem is I lose the table alignment. if I have a table like
    <table>
    <tr><td>heading1</td><td>heading2</td><td>heading3</td></tr>
    <tr><td>value1</td><td>value2</td><td>value3</td></tr>
    <tr><td>value1</td><td>value2</td><td>value3</td></tr>
    <tr><td>value1</td><td>value2</td><td>value3</td></tr>
    <tr><td>value1</td><td>value2</td><td>value3</td></tr>
    <tr><td>value1</td><td>value2</td><td>value3</td></tr>
    //so on
    </table>
    all my rows from 2-99 are aligned properly under the first row.
    If I have a <div > tag or a new table for row "2-99"..the alignment is gone. "value1", value2 and value3 dont fall exactly under "heading1" "heading2" and heading3 respectively. I hope I made my point.
    <table>
    <tr><td>heading1</td><td>heading2</td><td>heading3</td></tr>
    <tr><td>
    <div style="height:100px; overflow:auto">
    <table>
    <tr><td>value1</td><td>value2</td><td>value3</td></tr>
    <tr><td>value1</td><td>value2</td><td>value3</td></tr>
    <tr><td>value1</td><td>value2</td><td>value3</td></tr>
    <tr><td>value1</td><td>value2</td><td>value3</td></tr>
    <tr><td>value1</td><td>value2</td><td>value3</td></tr>
    //so on
    </table>
    </div>
    </td></tr>
    </table>
    Raghav

  • Select a row from a table and throw an url

    Hi experts,
    I'm trying to select a row from a table in Visual Composer. What I need to do it's to click over this row and throw an Url. At the moment, I've added a column with a Pushbutton with the formula to show the link; it works fine. But I need to do it without buttons just selecting the row.
    Is there anyboby who knows about that?
    Thanks a lot.
    Belen

    Hi
    To do this you will have to use a data store and a guard condition on the line which is triggered by the select action. You need to store a value in the data store each time a select action is performed. The guard condition should check for this and only perform the action when the value in the data store is greater than 0.
    Jarrod Williams

  • Select a Row in a table and display the related in formation

    I have a uix page displaying table "room" ,there are several patients in every room .What I want to do is: Using "SingleSelection" to select a room and display some attributes of this room and the related patients in a table with using another page. How can I do this? Can I do it declaratively?
    room.uix
    <bc4j:table name="viewTable" width="80%"
    alternateText="No rows found">
    <tableSelection>
    <singleSelection selectedIndex="0"
    shortDesc="Select Row"
    text="">
    <contents>
    <submitButton text="Rooms"
    ctrl:event="update"/>
    </contents>
    </singleSelection>
    </tableSelection>
    <bc4j:keyStamp>
    <bc4j:rowKey name="key"/>
    </bc4j:keyStamp>
    <contents>
    <!-- A bc4j:column element is added for each attribute
    in the ViewObject. -->
    <bc4j:column attrName="PacsDemonstrationId">
    <columnHeader>
    <bc4j:sortableHeader/>
    </columnHeader>
    how to then write patients.uix?...
    Thanks
    Yong

    Hi,
    Check the below thread
    [Find the records in Table control    |Reg : Find the records  in Table control]
    in the above thread, you can omit the POPUP_GET_VALUES function module since you have an input field for search purpose
    Hope this serve your purpose
    Cheers
    Ramchander Rao.K

  • Easy Question:Select many rows from a table and execute BAPI for these rows

    Hi Experts,
    I have created one WD project. The WD project fetches some records of backend using BAPI and displays in a table. I have to select some rows from the table and then execute BAPI for selected rows.
    How I can select multiple records from the table and then execute another BAPI for selected rows.
    Regards,
    Gary

    Hi,
    In the Node which you binded to the table create one more attribute of type boolean.
    For example your node is as below:
    //Table Node
    TableNode
    > Att1
    > Att2
    > isSelected(boolean) - Newly created attribute for this requirement.
    //Result Node contains the elements selected in TableNode
    ResultNode
    >Att1
    >Att2
    Now in the table create one more Column with Checkbox as tablecell editor. Now bind this boolean attribute to that check box.
    Now in the code you can get the selected rows by user as below:
    for(int i=0;i<TableNode().size();i++)
      if(wdContext.nodeTableNode().getTableNodeElementAt(i).getIsSelected()==true)
        IPrivateTestView.IResultNode element=wdContext.createResultNodeElement();
        element.setAtt1(wdContext.nodeTableNode().getTableNodeElementAt(i).getAtt1());
        element.setAtt2(wdContext.nodeTableNode().getTableNodeElementAt(i).getAtt2());
       wdContext.nodeResultNode().addElement(element);
    Regards,
    Charan

  • Pass current row data from table and pass it to a method in AM

    Hi All,
    I have a table with row selection enabled. Also for each row I have a select image which on selection should pass the data from one of the columns of the current row selected to a method in AM.
    Can anybody let me know on "How on selection of the image in any row, can I pass the column data to the method in AM?".
    Thanks,
    Vijay

    Hi,
    the most easiest and straight forward approach is
    - Ckick the "Binding" tab at the bottom of the Visual Editor
    - In the Bindings section click teh green plus icon and choose Generic Bindings | Attribute Value
    - point the iterator selection to the iterator used by the table
    - choose the column's attribute name from the list of attributes
    - Create a method on the ApplicatioNModule IMPL class (should take single argument)
    - expose it as a client interfaces so it shows in the Data Controls panel
    - In the "Binding" tab, create a method binding for this exposed method
    - point the method binding argument to #{bindings.column-attribute-name.inptValue}
    So whenever you need to pass the value on to the AM, you just call the method binding
    OperationBinding oper = (OperationBinding) bindings.get("name of method");
    oper.execute();
    Frank

Maybe you are looking for

  • Data from a file need to be read and mapped  into a custom table of R/3

    Hello all, This is related to inbound to  SAP ECC via SAP PI. There is a requirement concerning PI part that data from a file need to be read and mapped  into a custom table of R/3. To have this scenario developed , do we have any other  option than

  • IPhoto not in applications folder

    Hi, my iPhoto and my iMovie both have question marks over each icon on the dock. I've tried finding it in the trash, applications folder, and spotlight. No luck! I can't find it and I'm not sure how to. I don't want to lose my photos, please help. Th

  • Issues with Seeburger FTP adapter

    Can one of you with Seeburger FTP adapter experience share some information on these issues I'm facing 1. Do I need to setup resource management in Seeburger workbench. If so, do I need to configure, resource, server and reservations. Do you have mor

  • SQL Developer / JDK On Windows Server 2008 64 bit R2

    Does anyone have the recipe to fix the annoying message:  "Cannot find a J2SE installed at path:  C:\Program Files\Java\jre6"?  I get the same message, when trying to set up and run SQL Developer on a Windows 2008 server with SQL Developer 32 bit, Ja

  • ZCM 103 RC1: DLU with Roaming Profile on W2K3 doesnt work

    No change from Beta2 to RC1: - DLU-Policy assigned to a User-Source on XP-Clients works (with Roaming Profile Policy to a Netware Server) Do need the same on a W2K3 (Terminalserver), but: - DLU doesn't work if the policy is assigned to a User-Source