Dear All, If you are looking for insert the auto version number in Infopath 2010 sharepoint form then you need to use the following code under calculated field substring-before( substring-after( /processing-instruction()[local-name(.) = "mso-infoPathSolution"], 'solutionVersion="'), '"') That's it Regards Rashid Imran Bilgrami CEO Best visualization http://www.bestvisualization.com