Problem/Question regarding Insert Item link

D

David G.

We are using InfoPath2003.

Sometimes, when generating a 'Repeating Section with controls' from the
datasource, our sub table displays in preview with no row and only the
'Insert Item' link. Othertimes when generating from the same section of the
datasource, the Repeating Section generates so that in preview, an empy row
is displayed with the 'Insert Item' link below.

Can anyone explain this behavior to us? When the latter scenario occurs, we
end up with a row in the subtable in the database for submitted forms that
contains nothing more than the pk of the table which is an identity field and
a bunch of null columns. We are trying to prevent this.

Regards.

David
 
S

Shiva (GGK Tech)

Hi,

Whenever we have default node in template.xml then it displays the empty row
otherwise only insert link displayed. You can insert or delete empty nodes in
template.xml depends on how many rows you want to display for repeating
section.
One another way to display only insert link, Tools-Form Options-General
tab-Edit Default values, uncheck the repeating section group node check box
then it will display only insert link only. If you want to display empty row
for repeating section then you have to check that checkbox.
 
D

David G.

Thanks Shiva.

We found both methods playing around in InfoPath just after I posted:)

Now we have a problem that, when we insert a subtable row in the primary
form, all other subtables get a row inserted. Any clue as to why this would
be.

We unchecked the default values of all the subtables in the form. So they
all start off initially with no row. As soon as we insert a row in any of
the subtables, we get rows in all of the subtables?

This is still a problem for us. Any help would be appreciated.

Regards.

David
 
Top