Some thing more, i did a test bringing the id generated (max(id)) after use my submit method and sent my document to sharepoint but when i edit again my document and i try to change some value infopath ask me again to connect to my main data source, well, i execute a query to principal data source and let me change but, duplicate value in my xml again.
Some thing in my mind tell me, be patience padawan young, pls some advise.
Fred Darwin Villareal