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

Similar Messages

  • How to synchronise a calendar on one computer and the music on another one

    As I don't want to import my music on the business computer, I'm wondering if it is possible to synchronise a calendar on one computer (business) and the music on another one (private) ? Does anyone have an answer ? I tried with itunes homesharing but everytime i try to synchronise only the calendar, it deletes all my music on my iphone.

    Turn home sharing off & uncheck content like music, videos & apps on the computer you only want to sync your calendar with. You can sync your contacts & calendars with multiple computers, content like music with only one.

  • I have an extensive aperture library on my computer's hard drive and I want to break it up into separate smaller libraries on external hard drives.  How do I take projects from one library and add them to another one?

    I have an extensive aperture library on my computer's hard drive and I want to break it up into separate smaller libraries on external hard drives.  How do I take projects from one library and add them to another one?

    Coastal,
    Frank gave you the exact answer to your question. 
    However, I would like to ask if you are indeed asking the right question.  Do you really want different libraries?  The implications are that you have to "switch" libraries to see what's in the others, and so that your searches don't work across all of your pictures?  If so, then you asked the right question.  If not, you may be more interested in relocating your masters to multiple hard drives so your library gets smaller, instead of breaking up the library.
    nathan

  • How can i take photoshop off one computer and put it on another

    How can I take photoshop off one couputer and put it on another?

    Hi Beth, welcome to the discussions!
    Might be a good idea to also post over in the iPhoto forum if you haven't tried this yet as this is a common topic on their boards.
    You may be able to get your iPhoto library back by rebuilding it. I've done it, but's it's been a long time, so don't want to mislead you on anything. The guys over in the iPhoto forum are real experts and should have some fixes for you.

  • I need to  know the name of the database table and the fields in that table

    hi,
    i need to I need to  know the name of the database table and the fields in that table for the following fields of the front end .
    1) incident details.
    2) ownership details
    3) injury type
    4) % of investigation completed withen 7 days.
    5) count of incident type
    6) cost of workers compensation claim.
    7) injury resulting from for workers compensation claim
    8) investigation free text.
    9) investigation contribution factors.
    10) investigation root cause.
    11) investigation root cause free text
    12) employee risk assesment
    13) protential infrigment notice issued
    14) actual infrigment notice issued.
    15) actual infrigment notice reference number.
    16)vehicle damaged text.
    18) when the incident occured.
    thanks and regards,
    pronoy .

    Hello,
    Check CCIHT* under se16 and search for relevant information
    Thanks
    Jayakumar

  • OBIEE - answers - How to display to rows in one?

    I have problem with QA_RESULTS table - exactly with correct display results
    How can I display two rows in one?
    Example:
    data 1, name
    2009-03-01, john
    2009-03-05, john
    2009-03-02, ann
    2009-03-04, ann
    I would like to see:
    data 1, name , data 2
    2009-03-01, john , 2003-03-05
    2009-03-02, ann , 2009-03-04
    Regards,
    js

    hi..
    i don't think this can be done..
    but try to put the name column in first place and in column properties mention suppression values.. as it won't repeat the values for each row...
    keep your date column in second position.
    so that it appears like.. for each name there would be 2 dates up and down
    just try...

  • How do you take information from one layer and switch it to another?

    I am trying to figure out how to take pictures and text that I have already placed on one layer and switch it to another layer. I have like 50 pages worth of information and I am trying to look for the easiest way to do this. In illustrator and Photoshop, its pretty easy. Wanting to know if it is the same because I have been trying but it is not there. Just in case it matters, Im using CS5 on a pc. Help is greatly appreciated.

    Hi Martin,
    Please follow the below steps.
    Step 1
    Create the separate layer. Select the content you want to move.
    Step 2
    Go to check layer panel, near the pen symbol icon, the below box drag to move up to the image layer, see sample
    Step 3
    This option use spread wise content, it will complete the task with fast. If more faster, please raise as question to Scripting Forum, they can suggest the tool.

  • How to insert some records in one table and some records in another table

    Interview question
    how insert records in two tables by using trigger
    CREATE or REPLACE TRIGGER Emp_Ins_Upd_Del_Trig
    BEFORE delete or insert or update on EMP
    FOR EACH ROW
    BEGIN
    if UPDATING then
    UPDATE emp2
    SET
    empno = :new.empno,
    ename = :new.ename
    --, job = :new.job
    --, mgr = :new.mgr
    --, hiredate = :new.hiredate
    , sal = :new.sal
    --, comm = :new.comm
    --, deptno = :new.deptno;
    sdate = :new.sdate,
    edate = :new.edate
    end if;
    if INSERTING then
    INSERT INTO emp2
    VALUES
    ( :new.empno
    , :new.ename
    --, :new.job
    --, :new.mgr
    --, :new.hiredate
    , :new.sal
    --, :new.comm
    --, :new.deptno
    new.sdate,
    new.edate);
    end if;
    if DELETING then
    DELETE FROM emp2
    WHERE empno = emp2.empno;
    end if;
    END;
    it is working fine but he wants to insert some specific litimit on one table and some specified limit of records in one ..
    In this senerio can i insert records by use count of records...
    please help me..

    Can you be more specific on the "Limit"
    Conditional insert can be used in this case.

  • How can i pull the value of one cell into the cell of another table?

    I want to pull the value (the result of a =SUM(x) formula as the starting value of a column in another table.  How can I do that?

    Yvan KOENIG (VALLAURIS, France) vendredi 10 février 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.3
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k

  • HT1338 How do I reset the display setting back to default?  My display is zoomed to one corner and the other 2 sides are cut off.  I don't know how to fix it.

    My baby nephew pressed a lot of the buttons on the my mac and has caused the display to zoom into one corner.  It other two corners are cut off which makes it really difficult to use the computer.  I attatched and image so that you can see what I am talking about.  Please help, thanks !  =)

    Hold down the Control key and scroll with the mouse or keyboard.  One direction zooms the other unzooms.

  • Creating a relationship between one table and the PK in another

    Sorry the subject of this message is a bit vague. I'm not sure how to describe this problem in one sentence.
    So here's the issue: I've just created a new block on my form based on table2. Table2 contains t1_id which is the FK link to Table1.
    What I want is when one of the fields in Table2's block is changed and inserted, the t1_id is inserted in the applicable row. Essentially, I need :table2.t1_id to have the 'Copy From Item' property set at :table1.id
    I cannot seem to see where in designer this option is. I asked a friend and he said what I need to do is 'create a relationship between the two values in designer'. Huh? In the Table Definitions the FK is set for the two, so I'm not sure how to do this.
    Another problem, which I'm believing will be solved when this is, is that when the form loads, this new block, table2, is not automatically populated with the applicable values from the table.
    Thanks for any help. It's greatly appreciated!

    Do you mean that you want to create a Master-Detail Form using Designer?
    If yes, you need to define the entity usage from the Function Hierarchy Diagrammer, then attribute usage definition. Generate the module using Application Design Transformer. You need to define the Context so that master table's PK will be carried over to the detail table.

  • How do I update all the records in a table from the contents of another table?

    Ok some situation information, I have a pervasive database that runs our accounting software that I am pulling a product list from.  I have that list stored in a table in SQL.  From time to time we update the records in the pervasive database and
    I want to be able to pull those changes into the SQL table.  I don't want to drop the table and recreate it because if a product is no longer active in the pervasive database it will not be returned by the query (if I return all the products even the
    inactive ones I will get thousands of records rather than just a few hundred) and I do not want to loose the products from the table that are now inactive.  
    So what I want to be able to do is pull the list from pervasive, compare it to the list that exists in SQL and update any changed records, add any new records, and leave any now missing records alone(missing from the pervasive list but present in the SQL
    list).  I have no trouble pulling the records from pervasive (now) but I am a little stumped on how to do the rest.  I am not sure if this is a situation to use MERGE or not.  I also do not really need this to be done on a regular basis as the
    changes do not happen often enough for that, the ability to manually trigger it would be enough.
    Any help would be appreciated.
    David

    Hi David,
    lets say you want to go with the lookup transformation.
    lets say u want to move the data from server A table A1 to Server B table B1
    What you need to do is the following:
    Cofigure the Lookup options as follows:
    - In general -> Specify how to handle rows with no macthing entries -> "Redirect Rows to no Match Output"
    -  In Connection -> Set the ole db connection to the Server B and select the table B you want to lookup the values in your case the table where you want to input the changes 
    -  In columns -> link the product column from table A to product column in table B. And do not select any rows to output.
    - now your component is ready next you need to input. so when u connect your lookup to the destination component You will get an option to select which output you want to use - use "Lookup No Match Output".
    this will actually just allow you to add only new items only to the table B.
    Teddy Bejjani - BI Specialist @ Netways

  • How can i merge data between two tables and then insert to another table

    Hi ,
    Could pls help me,
    I have two tables i need to merge this tables for a single column then need to insert the records to a third table
    Ex-
    Suppose emp, dept two tables , merge this two tables for empid then insert that value to emp_dept table.
    I am using oracle 10g.
    Thanks

    Hi,
    too many values comes from the select clause. I stated you have to match the columns from the emp_dept table to the columns in the select. In my example I return all the columns of emp and dept, but I think you have only one empid column, the select for example will give 2, one empid from emp and one empid from dept. So best is to match:
    insert into emp_dept
    (column1,column2,column3,empid)
    select emp.column1, emp.column2, dept.column3, emp.empid
    from   emp, dept
    where emp.empid = dept.empidAbove is an example how you can match, so the number of columns in the insert should match with the number of columns coming from the select.
    But better for us to help you is give your definitions of emp, dept and emp_dept.
    Herald ten Dam
    htendam.wordpress.com

  • How to print 20 lines in one page and remaining lines in another in script?

    Hi I created 2 pages in script for page1 next page is page2 , how i can print 20 lines in one page and remaining in next page plz send me the code for that and is windows same for 2 pages?...

    Hi Krishna,
    Try below code...
        CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          form                              = form.
        CALL FUNCTION 'START_FORM'
        EXPORTING
         language               = sy-langu
         startpage              = page1
      LOOP AT itab.
        count = count + 1.
        item = count mod 20.
        IF item EQ '1' AND count NE '1'.
           CALL FUNCTION 'END_FORM'.
           CALL FUNCTION 'START_FORM'
           EXPORTING
             language               = sy-langu
             startpage              = <b>page2</b>
        ENDIF.
       "write_form statement ....
      ENDLOOP.
    Message was edited by:
            Hikaruno

  • How to make a selection in one photo and move it to another photo

    I have always used Photoshop Elements, from 7 up to 12.  I just bought Photoshop CC.  I am totally confused over it.  There's not photo Bin, that is where I use to drag from the open photo down to the one I wanted the selection in.  I tried doing it
    by making the pictures smaller and dragging them down to the bottom, but then things got messed up and every time I opened another photo to use it open on top of the previous one.  To me this is important as this is what I have done
    in Elements all the time.  I can learn the other stuff about Photoshop later, but this one thing is important to me to be able to figure out.  I make pictures for people who have lost their pets or for birthdays and use a lot of digital scrapping stuff in
    them.  It's always been easy to do so, but now I am totally in a daze over how to do it.  Always wanted Photoshop, but I only have 30 days to decided if I like it and if I can't figure this one thing out I will have to return the program.  Can someone
    point me in the right direction for some tutorials on how to do this one thing?

    Oh,  and I'm not sure what you mean Load Files into Stack.  ??????
    In the menu Edit there is an item Scripts and there is an Item Load …
    If you want to rescale, rotate, … parts of your composition you should work with Smart Objects.
    So see if Photoshop > Preferences > General > Palce or Drag Raster Images as Smart Objects is checked and then use File > Place to put the elements into your layered file.
    Whenever you need to adjust one select it in the Layers Panel and invoke Edit > Free Transform (cmd-T).
    The advantages of Smart Objects are numerous:
    • multiple instances of a SO in a containing document that update simultaneously on saving an edited SO (please note that for a SO to maintain a connection to the external file one needs to use File > Place Linked instead of File > Place Embedded )
    • the possibility of placing vector content as Vector Smart Objects (though this will output as pixels)
    • non-destructive application of Filters
    • non-destructive application of transformation, warp, puppet warp (not all of these are available for Vector SO, but by converting such a one to a regular SO they become applicable)
    • combination of elements of different color spaces
    • the ability to Replace Contents of SO (for example when faking as-of-yet non-existent products by mapping packaging design elements onto images of a blank container and the design is likely to change)
    • Stack Modes for certain combinations of photographic images

Maybe you are looking for

  • Flash CS5, image from library in TLFTextField?

    I cannot seem to embed an inline image in a TLFTextField from the library.  Using the following snippet (with both a TLFTextField and a standard Dynamic TextField on the stage), the image appears ok in the Dynamic TextField, but no image in the TLFTe

  • Regarding status in Work In Progress ALV Format Report.

    Dear All, I am creating ALV Report for Work In Progress for PP-module. I want to display Object Status i.e. field STAT table JEST so for doing this I am Bringing objnr (object number) from table AUFK in my ITAB (it_so) by comparing AUFK-AUFNR with my

  • OGG Archivelog files

    Hi all oracle gurus, as of now we are storing our archivelog files in flash recovery area, i hope a read permission on these files will help OGG to read archive log files right? One more thing if we are storing archivelogs according to date wise i me

  • Flash CS5.5 - font outlines still get embeded while using runtime sharing

    I have a project where I use several SWFs and have the fonts outlines stored into a seperate SWF. Within the .fla file's I have checked the Import for runtime sharing with the various font definitions. In the library the linkage part shows for every

  • Opened cursors

    Hello everybody, i need the number of opened database cursors (with the OPEN CURSOR statement) in an Abap process (programm). Does anyone know if i can get the number in Abap in runtime?? For example something like the VBLOG table cluster. Regards Io