You could try the NewFromSolutionWithData method, but it sounds like what you want to do is use NewFromSolution, storing a reference to the XDocument that is returned from this method, then using that XDocument, just setting the values you want.

Signature
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com
IS it possible to get values from one form and then launch
a different form (in a different form library) with these
values??
Thanks