Avatar

Level 10

Vincent,

     Here is the updated file..

https://acrobat.com/#d=bVDBNM0pnS2IpfE58V01Tg

You have checked the checkbox "Repeat subform for each Row" for Header Row under IndTable1. You need to do at Row1 level of Table1.

I bound the Row1 of Table1 to <Row1> tag in your XML which can repeat multiple times.

I wrote the code in the Doc Ready event of the Test1 field to check whether the value is existing or not. If it does not have a value, then I am removing the instance of the Row1 by passing the current index.. (You can check the code)..

While creating a data connection using XML you need to make sure that the below structure is repeated atleast 2 times. And while previewing you can use make a copy of this same XML and remove Row1.

  <Row1>
    <Test1>Individual Name 1</Test1>
  </Row1>

Thanks

Srini