Repeating Subforms within Tables and Subforms

Hi, again =)
I have another question.
I'm working with LiveCycle ES4 on a xml form (xdp).
In this form I have a table with a repeating subform within a row. And inside this subform I have another repeating subform.
It works like this: the first subform contains data of a category and the other subform contains data of a subcategory.
There can be multiple categories and within each category it's possible to have several subcategories listed.
Ok, having said that, my real problem is this one: I can set the header of the table to repeat itself each time the table breaks to the next page but I want the category to repeat also in case the parent subform breaks and I can't.
I tried a billion things to make this work, like putting a table inside a table. But I cannot make both headers to repeat themselves.
Can anyone help me with that?
..I have also another question: How can I prevent the silly single header that has no rows attached from appear in the bottom of the page?
Thanks again.
This community has been very helpful! =)

I have just been playing around with tables for a project I am currently working on and may have an idea that might work for your last problem of the orphaned header row at the bottom of the page that has no rows attached. Try making two header rows, even if they contain the same information, and, in the Pagination tab, set the first one as "Include Header Row in Initial Page" and set the second one to "Include Header Row in Subsequent Pages".
You may also find the post http://forums.adobe.com/message/5473853#5473853 of use perhaps.
Hope this helps,
Greig

Similar Messages

  • Tables and Subforms

    I have a table in a flowable subform, I need it in flowable so that it will put the header anf footer rows on the next pages as the user enters data. My problem is that the Objects on the subform, i.e. the table are al left justifying and I can't get them to move to the center where I need them to be on the form.  Can anyone help please?

    Hi,
    When you set a subform or page to Flowed Top to Bottom, by default all of the objects are stacked in the order of the hierarchy. You cannot move them off the left side of the form, by dragging, etc.
    However, you can use the object margins and content area to adjust their position.
    In addition, where objects do not need to expand, you can group these in Positioned subforms.
    See examples here: http://assure.ly/e2jR0C and http://assure.ly/eSGQMt. Also there is an example showing how to build dynamic tables: http://assure.ly/gk8Q7a.
    Hope that helps,
    Niall

  • Nested tables and subforms (Web Dynpro Java)

    Hi to all you gurus,
    my scenario is the following: I have 3 nested nodes in a view context like these
    DEFECTS_NODE
    |          ACTIONS_NODE
    |           |        SUBS_NODE
    |           |          |__action value
    |           |          |__defect value
    |           |          |__sub value
    |           |__action value
    |           |__defect value
    |__defect value
    |__ decription
    All 3 nodes have cardinality 0...n. These nodes are structured as if we have some actions under the same defect value and some subs under the same action value and defect value and so on. so we can have more defects_node with more nested actions_node (with the same defect value) and more nested subs_node (wiith the same action value).
    I hope I was clear...
    Now, I have to read these nodes and output them in a pdf with 3 nested subforms (defects, actions, subs). These 3 subfoms must be a mirror of the 3 nested nodes.
    can you help me??how can i do this?
    thank you very much in advance,
    Enrico
    Edited by: Enrico Grimaldi on Mar 29, 2010 12:50 PM

    hello,
    I don´t understand your problem. When you´re in LCD and can see your context data in the data view tab, you can just drag and drop the root of your form context and when placing that on the form layout, the whole structure should be generated by the system for you.
    Otto

  • Tables and subforms. How to combine to create a detail list ?

    Hi to all,
    i need to solve this issue. I've done many tries but nothing works.
    I have three tables : <tab1>, <tab2>, <tab3>. In context i tied its by where clausole so i have three nested tables. The third contains the texts for  a given position.
    When i drag the table on the layout i have something like this :
    (1st record)
    <Val Field 1>---<Val Field 2>----<Text>
    <Text>
    <Text>
    (2nd record)
    <Val Field 1>---<Val Field 2>----<Text>
    <Text>
    <Text>
    and so on
    Val Field 1 comes from the first table, Val field 2 from the second (for one record of <tab1> i have many record from <tab2>), Val field 3 from the third - text (for each record of <tab2> i have many lines of text - that means many lines of <tab3>).
    (sorry for the dots but are necessary to keeping the right fomatting in order to show you an example of the standard result of the drag of the structure from the data view palette)
    I'd like to have something like this :
    (1st record)
    <Val Field 1>-----<Val Field 2>
    <Text>
    <Text>
    <Text>
    (2nd record)
    <Val Field 1>-----<Val Field 2>
    <Text>
    <Text>
    <Text>
    and so on.
    I wasn't able to achieve this result and i don't know how to get it!
    Someone of you could explain me with some details, how to modify the hierarchy to achieve this kind of formatting ?
    Thank a lot to everyone.
    Andrea

    Andrea,
    Go through some examples listed below and see if it gives you some hints:-
    [Achieving Control Levels functionality in Adobe Forms|http://****************/Tutorials/AdobeForms/Controllevels/page1.htm]
    [Nested tables in Adobe Forms|http://****************/Tutorials/AdobeForms/Nestedtables/page2.htm]
    Chintan

  • Reg: Data getting repeated in the table and displayed in the Smartorm.

    Hello Experts,
    Requirement is to display header data from kna1table and item data from two tables faglflexa and bsid.
    Layout is something like this.
    Name and Address is capture from KNA1.
    Item Details from faglflexa and BSID based on one condition, UMSKZ ne 'X' and 'Y' for the respective KUNNR from KNA1.       First Item table.I have taken a separate internal table from print program
    Item Details from BSID only based on one condition, UMSKZ eq 'X' and 'Y' for the respective KUNNR from KNA1. Second Item table. I have taken a separate internal table from print program
    Calculation based on faglflexa and BSID table on one condition,UMSKZ ne 'X' and 'Y' for the respective KUNNR from KNA1.       Third t Item table. Data from the first internal table
    The complete thing should be displayed on Smartform for one Customer (kunnr). Then should go to the next customer.
    I have a written a code like this, For Example.
    loop at kna1 into w_kna1.
    Used Table1 in smartform and give a loop to display the item details based on first internal table.
    display itemdetails
    Used Table2 in smartform and give a loop to display the item details based on second internal table.
    display itemdetails.
    Used Template to display the item details to display the item details based on first internal table.
    endloop.
    Now my problem is table 1 is coming fine. table 2 data is getting repeated for all the customers based on 1st customer data, how should i clear the workarea after every customer.
    Similar pbm for the template which i'm using.
    Please help me on this.
    Thanks in advance.
    Abdur Rafique

    Hi Vishnu,
    Thanks for replying. I cant use one single table to display the output. There are several conditions in two tables.
    I have corrected the error of repetition data. Logic i will mention it below.
    loop at kna1 into wa_kna1.
    for header data " this is main table
    loop at item_1  into wa_item_1. " for first item table
    Data displayed.
    loop at item_2 into wa_item_2. " for 2nd item table
    Data displayed.
    endloop. " for 2nd item table
    data calculation based on first item table.
    endloop. " this is for first item table
    endloop." this is for 2nd item table.
    The data which is there in the 2nd item table should display data based on the kna1 loop. Data is displaying properly but not in 1 table, say for example.
    kunnr- 1000010
    there are 9 items.
    All the 9 items should be in 1 table. But here it is displaying 1 item in 1 table till 9 items in 9 tables.
    I need to club all the 9 items in 1 table.
    One more doubt is 2 items have same belnr (document number) i need to club this and add the wmbtr field and then display as 1 record.
    So final records in 2nd item table should be 8 not 9.
    Can you please help me on this.
    Thanks in advance.
    Abdur Rafique

  • Repeating Tables, and Grey Sections

    U gave Adobe Livecycle Designer ES4.
    I am making a new form, and I am attempting to make an expandable table for our metrics. I added in the form but when I try to go to the binding tab it wont let me select the "Repeat Table" box. Is there a setting that I am missing?
    My second question is, is there a way to "grey out" a section of a form? We are looking for a way to cover up a section of a form, where the user can select or deselect to see what is underneath that section. My other thought is if that was not possible, is there a way to make an invisible subform with a button to make it visible and invisible?

    Hi Sara,
    1) The first problem is because you did not set the Page content direction to "Flowed". Once the Page's Content property is set is flowed, your problem should be resolved.
    2) You can always make a section visible or hidden by scripting. Use code :
                   subform.presence = "visible";
                             or
                   subform.presence = "hidden";
    Thanks,
    VJ

  • Subforms within subforms add Instance problem

    Hi
    I am new to Adobe Livecycle Designer (I am using version 8.2.1) but I have successful made nearly all elements of the quite long form I need to produce except for one section I am having difficulty getting it to function correctly. In the example I have a repeating subform ‘Organisation’ on page subform ‘Membership’ which has buttons to add and remove instances, which work correctly. But within each instance of this ‘Organisation’ subform is another repeating instance subform ‘ExpertNames’ with buttons to add and remove instances.
    The ‘Organisation’ form allows an organisation to be named and the ‘ExpertNames’ subform allows multiple members for that organisation to be named and associated to each organisation. The user should be able to list multiple organisations each with one or more members. I can successfully add multiple instances of ‘Organisation’ form one after another using
    Membership.Organisation.instanceManager.addInstance(1)
    and remove the selected instance using
    Membership.Organisation.instanceManager.removeInstance(this.parent.index)
    I have the following set on the button to add a new instance of the ‘ExpertNames’ form
    Membership.Organisation.ExpertNames.instanceManager.addInstance(1);
    and the following to remove the selected instance of the 'ExpertNames' form
    Membership.Organisation.ExpertNames.instanceManager.removeInstance(this.parent.index);
    However when I add a second instance of the ‘Organisation’ form i.e. a new organisation and try and add additional members to the 2nd organisation it adds them to the 1st organisation rather than the second! I have an example of the problem form i can send if needed.
    Hope someone will be able to help with this.
    Many thanks in advance
    Lara

    I still have not been able to find a solution to this does anyone have any ideas?
    I have an example of the problem in a form that I can email.
    Many thanks in advance
    Lara

  • Whether to use subform or table

    I'm making great progress with my form. I have two versions: 1) a table is used for repeating data items, and 2) a subform is used.
    For the table, on the single row, the "repeat subform for each data item" box is checked. When in preview it will list as many rows as I allow in the max field for the row. I have 80 rows in the preview XML file. The most that should fit inside the table as drawn is 28, bit if I set the max value greater, rows will continue past the bottom of the drawn table to the bottom of the page. I haven't gotten to the point of using a data source yet.
    For the subform the  "repeat subform for each data item" box is not enabled. In preview I get one row. If I did set up a data source the repeat box might become enabled. I have one subform set as positioned, then another subform inside that set to flowed top to bottom, and in the inner sub form I have the data fields.
    I want to test the form with multiple pages in preview mode because I must do different calculations on each page. That's why I put so many rows in the XML preview file. With the table I get multiple rows, but I couldn't figure out how to go to another page.
    I need 28 repeating data items per page and need to have multiple pages. Comments would be appreciated. Thanks

    There's several ways of going about this but a lot of it depends on how the data is wanted to flow. Does the footer totalling info need to be at the bottom of every page or just at the end of the table? Same with the fields at the top of the page - do they need to be on every page or just at the beginning?
    The attached might give you something to go on.
    I've set up 3 content areas on the master page - ContentArea1 for holding the header fields, ContentArea2 for holding the repeating table and ContentArea3 for holding the footer fields. For the header and footer areas move all the fields from the master page to these subforms and set them up as proper fields instead of floating fields.
    For subforms: subHeader is set to positioned in ContentArea1, subTable is set to flowed in ContentArea2 and subFooter set to positioned ContentArea3. I wasn't quite sure of the settings for getting the flow to the correct content area but it's working properly at the moment so the table continues to flow into ContentArea2 when it breaks to a new page.
    I've set the table for 50 items so it flows a few pages so you can see what's happening. I've also set up the table with proper fields instead of floating fields.
    If you don't need the static header and footer areas on every page you could have one main flowed subform that holds everything, with the same subform setup inside that main subform, the footer subform would then get pushed along after the table:
    subMain (flowed)
         -- subHeader (positioned)
         -- subTable (flowed)
         -- subFooter (positioned)
    My other thought is that if it was me I would recreate the form in LC instead of trying to use the old art in the background.
    Hope this helps!

  • Instance manager and subforms

    I'm using a JS statement that I've found to dynamically delete subform rows when the user clicks a delete button:
    Subform.Row1.instanceManager.removeInstance(this.parent.index);
    This works if my delete button appears in Row1, like this:
    Subform
    Row1
    Button
    Field1
    Field2
    However, I'd like to wrap the button in a subform so that I can hide the button on print. My table looks like this:
    Subform
    Row1
    SubformA
    Button
    SubformB
    Field1
    Field2
    Row1 is a flowed subform so that when I hide SubformA I don't get any empty space.
    The JS statement isn't working. With my ignorant eyes it appears that instead of this.parent.index I need something like this.grandparent.index. Is something like this do-able? Any alternative ideas?

    Thank you rlunka! That did the trick. And thank you for your quick reply Paul. I didn't tell you that I was trying to get fancy by using a hidden button object and a graphic. To get the graphic positioned on top of the button, I placed them within a positioned subform.
    So my table really looks like this:
    tTravelers
    Row1
    sTravelers (flowed subform)
    untitled subform (positioned subform)
    removeButton
    image
    untitled subform
    Field1
    Field2
    FooterRow
    untitled subform
    addButton
    image
    The click event on the removeButton object looks like this:
    tTravelers.Row1.instanceManager.removeInstance(this.parent.parent.parent.index);
    sTravelers is a flowed subform, so when I hide the removeButton untitled subform (which takes up the entire row width), I don't get any blank space. Sorry if this is too much info. Now I just need to test the heck out of it.

  • Tab Order of Dynamic Table or subform

    Hi,
    I have a page with few subforms. At this subforms are dynamic tables or dynamic subforms. How does the tab order works in this kind of layout.
    Some time I have a few subforms or tables group together when activiate the tab order form the menu [View->Tab order]. I have the tab order arranged for a dynamic subform. When I preview and add a few instance of the subform (call it subform A), the first instance tab order follow what was set. But when tab to second instance of subform (subform A), the cursor just when to another subform (subform B). Why is that so? Shouldn't it just continue to the second instance?
    Thanks for any help.

    Hi Mike,
    I have faced with the same problem also. So as a temporary solution, in the exit event of the last item in the table, I changed the focus to the next instance's first item. Not a good way. If there is any different solution, waiting also.
    Asiye.

  • How to create a table using subform if  lifecycle designer 7.1 not availabl

    hi,
    plis tell me how to create a table because i am using adobe lifecycle 6.1 and in the library
    there is no object for table..
    also tell me that if i have adobe lifecycle designer then which is better option and why?
    use table from library directly or create a table using subform...

    Hi Sweta,
    Create the interface attributes of type string and xtring type.
    Create node in the context of type graphics. bind the interface fields to the graphic node context element properties -
    Graphic content, field of xzstring type and mimetype to be string/any char data type of suitable length.
    In  layout drag and drop the image field and bind it to the graphic element.
    In yoour report programme-
    do the code as berlow to pass the graphic data -
    <i>CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
    EXPORTING
    p_object = 'GRAPHICS'
    p_name = '<mime type graphic name>'
    p_id = 'BMAP'
    p_btype = 'BCOL' "BMON if monochrome
    RECEIVING
    p_bmp = w_binary
    EXCEPTIONS
    not_found = 1
    internal_error = 2
    OTHERS = 3.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.</i>
    in the call <form function module>
    pass the inerface values for
    xstring (graphic field) to be w_binary (import parameter of the previous method)
    and mime type  to be 'image/bmp'.
    This would work.
    Hope fully you may be able to see a tutorial on this soon ;).
    - anto.

  • Adding Additional Rows to a table in subform

    I am fairly new to Adobe LiveCycle and would really appreciate some help.  I have simple table and would like for the user to click "+" or "-" to manage the number of row.  I can't figure out now to complete this...then arrive at a SubTotal.

    Hi,
    I made your form dynamic, also i added some subforms to make your flowed stuff look good and i added sum script to Totla field.
    Form attached.
    BR,
    Paul Butenko

  • Multiple child tables and repeating frames

    I have three tables(A,B,and C) where A is the parent of both B, and C. There is no relation between B and C.In the data model, There are three queries, one to each table and I have set up the parent/child relationship in the data diagram.
    In the layout Window I have a master repeating frame which breaks on each record for A. And within that master frame I have two constrained repeating frames for both B and C in that order designed to print all on the same page.
    The problem is that when there is more data for B, the extra records are not displayed .For overflow conditions, I would want A and C information to be reprinted along the top and bottom of each successive page while the middle section would contine on with the extra B records. (I realize this is similar to having header (A) and footer (B) information in the margin, but it is not quite the same thing since B and C depend on A's repeating frame.)

    I'm assuming that all the rows of (C) can always fit onto the page and don't overflow to the next. If so then you'll need the following:
    A Group frame "M_A" that completely surrounds (A) fields
    A Group frame "M_B" that surrounds (B) and defines the space available for (B) to print
    A Group frame "M_C" that surrounds (C)
    Set the properties against each frame:
    M_A:
    Vertical Elasticity: "Variable"
    Print Object On: "All Pages"
    Base Printing On: "Enclosing Object"
    M_B:
    Vertical Elasticty: "Fixed"
    (Re-size this frame in the layout to define the space available for (B))
    M_C:
    Vertical Elasticity: "Variable"
    Print Object On: "All Pages"
    Base Printing On: "Enclosing Object"
    You should end up with:
    A.....
    B1....
    B2....
    B3....
    C1....
    C2....
    A.....
    B4....
    C1....
    C2....

  • Centering tables in subforms

    Hi,
    I'm trying to center a table that is in a subform. I select the table and go to Layout>Center in page, but horizontally and vertically is grayed out?
    Any ideas what I'm doing wrong?
    Thanks in advance!

    Hi,
    I think it may just be the way you are selecting the table.
    If you select the table right at the edge, then the eight anchor points are visible. The layout commands are avaiable to you.
    If you select the cells / rows / columns of the table instead (so that the table is coloured blue), then the commands will not be available.
    Hope that helps,
    Niall

  • Help me with Radio Buttons and Subform fields, please!

    I've built a dynamic order form with three product options listed as radio buttons. The three options are "Contoured" "Standard" and "Custom". "Contoured" requires five subfields to be filled in if it is selected. "Standard" requires two subfields to be filled in if it is selected. "Custom" has no associated subfields.
    My problem is that I can't figure out a script that isolates the subfields to the appropriate radio buttons. Can anyone suggest a script to use?
    Thanks in advance.
    Brian

    Brian, to understand what I did, I will first explain my hierarchy.
    RBList has 3 radio buttons: A, B, C. Specify the Item Value for each Radio button, e.g. A=1, B=2, C=3. For radio button A, create 2 dropdown lists & 3 numeric fields and wrap in a subform called SubA - ensure you leave it as Visible presence. For radio button B, create 1 dropdown & 1 numeric, wrap in a subform called SubB, and make sure this is visible. I put my code on the subforms (SubA and SubB) rather than the radio buttons. Also, in order for the layout to be saved in Reader, if you want to save and reopen, you must use the script on the Calculate event. The Click event will not save the layout for you (learnt this from past experience in Designer 7.2 Designer 8 saves layout different again). The event Calculates the function as soon as you open up the file.
    Using JavaScript on the Calculate event, on the SubA subform would look like this:
    if (RBList.A.rawValue !=1) {
    this.presence = "hidden";
    else {
    this.presence = "visible";
    Using JavaScript on the Calculate event, on the SubB subform would look like this:
    if (RBList.B.rawValue !=2) {
    this.presence = "hidden";
    else {
    this.presence = "visible";
    The radio button C would not require script if there is not subform needed.
    Let me know if this works for you.

Maybe you are looking for

  • ProLoader and TLF TextFields do not work together!

    I'm using ProLoader to load a .swf that uses TLF.  The master .swf loads the target .swf and all code executes as expected with one minor glitch: the content of the loader is white/blank.  Has anyone else seen this!? ~~~~~~~~~~~~~~~~~~~~~~~~ Here is

  • Different ways to setup applets... what's best?

    Alright. I need some help deciding how to setup an applet. I'm a high school student and I'm going to be in a competition on Saturday that will be using Java applets. I've been trying to get my hands on as much info about it as I can, but I've seen s

  • Trouble with field output conversion when activating the Adobe Forms

    Hi everybody, I'm facing an issue very strange. I made an interactive form for a customer which is based on abap dictionnary and send by e-mail to user. This form works fine and is in Production system . Now i made an evolution on this form and when

  • WHICH PROGRAM(S) IS GOOD FOR RESIZING VIDEOS?

    I need a free, good quality, full version (no demo's please) program that can resize any video to 320x270 (or whatever it is) so it can be played on iPod.

  • Export .xlsx file from Webclient UI using abap2xlsx framework

    Hello, I have an urgent requirement to export the contents of internal tables to a .xlsx file using abap2xlsx framework. Classes like CL_GUI_FRONTEND_SERVICES or FM's like GUI_DOWNLOAD doesn't work for Webclient UI. Could anyone suggest me the proper