Merging forms

K

Kurte

1. I am using Infopath 2007 with a published form to a SharePoint Forms
Library.
2. I have a repeating section node as the container for the fields of my
form.
3. In merge settings for the repeating section node I am using the
default settings "Insert order": After groups in the target form and "Remove
blank groups" ticked.

In the merge section a part says "When merging forms in a library on a
SharePoint site, the target form is a new blank form. When I merge the forms
from the SharePoint site the first form is blank with the other forms merged
as I would like.

My question - Is there a way to remove the blank form? Currently to remove
the form I simply highlight the form and remove it using the drop down list
option for the form.


Regards,



Kurte
 
G

Greg Collins

This occurs because when the InfoPath form opens, it acts (as always) like
the user is going to fill out a form (thus you get a blank form), and then
merges all the others into it.

You really have two options: 1) Set up your form to not have any fields
present when it opens (normally a vary useless option), and then add them in
via code, or 2) use code to remove that first blank row when the merging
takes place (requires a bit of understanding of the merging process --
debugger can help).
 
G

Greg Collins

Good luck. It can be done, but it might take some testing and debugging to
get it to work exactly how you want.
 

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