repeating table to open with one a new row

C

Cresta

l have a datasource with two related tables (One to Many).
Infopath 2007 displays the records from table "One" down the left of the
screen and the related items from the second table "Many" appear to the right
in a repeating section. This "One" list can be a hundred items long and data
is stored each week.
When a new date is selected the list of the "One" records are displayed but
as expected no repeating values are available. However, the "Insert item"
appears for each empty Repeating Section.

Is it posible to run some code from a button to add one line to each of the
hundreds of Repeating Tables saving the user having to press the "Insert
item" far too many times.

I've looked at some examples on the web, but struggle to understand them.

Thanks
Any help will be appreciated.
 
C

Clay Fox

There are a couple options here. You could use code to insert new nodes but
they would still need input or would you have default values? Are you
wanting to clone or copy another table structure?
There are cloning examples on http://www.infopathdev.com
You may also be interested in the Database Accelerator if you are working
with backend databases. http://www.qdabra.com

--
Thanks

Clay Fox

Qdabra Software
http://www.qdabra.com

InfoPathDev.Com
The Largest InfoPath Forum in the World
http://www.infopathdev.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top