Repeating Table - InfoPath Dev
in

InfoPath Dev

Repeating Table

Last post 02-15-2007 10:09 PM by Shiva. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 02-15-2007 08:32 AM

    • Bill
    • Top 200 Contributor
      Male
    • Joined on 09-26-2006
    • USA
    • Posts 57

    Repeating Table

    Hello,

    I have a repeating table that collects some basic information: name, dob, ss#, mother name, father name and specific criteria. My table is confined to eight rows.

    Now my issue: When I enter data into row #1 and the specific criteria are True, I want to auto insert into a repeating section in another area of my form. With each new row that is added I need to create/insert a corresponding repeating section with the appropiate values from my table.

    Does anyone have a solution for this?

    Thanks

    Bill
    William L Fringer
    Database Administrator/Systems Integration Specialists

    L & S Associates, Inc.
    Michigan State University Corporate Research Park

    1-800-766-6185, ext 2076
  • 02-15-2007 09:42 AM In reply to

    Hi Bill,

    Is the other section an optional section that you are trying to physically insert into the XML, or is it a regular section that you want to show/hide via conditional formatting? The second should be pretty easy and you can just hide the section when the "certain conditions" are false. Once this is setup you could just always populate the data in the fields, and it won't matter because the user will only see it when you want them to.

    If it's the other (where you want to insert the nodes), this is a little more complicated and I always use code to do this, but you might be able to figure out some tricky rule with xdInsert or something, but I'm not sure.
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 02-15-2007 09:51 AM In reply to

    • Bill
    • Top 200 Contributor
      Male
    • Joined on 09-26-2006
    • USA
    • Posts 57
    Matt,

    What I am looking for is the code to accomplish this. I need to insert nodes based on conditional logic from the values entered into the table.

    Any help would be appreciated.

    Bill
    William L Fringer
    Database Administrator/Systems Integration Specialists

    L & S Associates, Inc.
    Michigan State University Corporate Research Park

    1-800-766-6185, ext 2076
  • 02-15-2007 10:09 PM In reply to

    • Shiva
    • Top 25 Contributor
    • Joined on 04-15-2005
    • India
    • Posts 694
    Hi Bill,

    Check out this link, it may be helpful for you,
    http://www.infopathdev.com/howto/examples/default.aspx?i=872fe5147a23458ca9a6968c9cda5055
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.