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
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).

Signature
Greg Collins
Microsoft MVP
Visit Braintrove at http://www.braintrove.com
Visit InfoPathDev at http://www.infopathdev.com
Kurte - 03 Apr 2008 19:23 GMT
Thanks Greg I will explore option 2. I appreciate the comments.
Regards,
Kurte
> 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
[quoted text clipped - 5 lines]
> takes place (requires a bit of understanding of the merging process --
> debugger can help).
Greg Collins - 03 Apr 2008 21:44 GMT
Good luck. It can be done, but it might take some testing and debugging to
get it to work exactly how you want.

Signature
Greg Collins
Microsoft MVP
Visit Braintrove at http://www.braintrove.com
Visit InfoPathDev at http://www.infopathdev.com