Putting the form's version number on the form - InfoPath Dev Sign in | Join | Help in Newbie Questions InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Newbie Questions » Putting the form's version number on the form Putting the form's version number on the form Last post 08-28-2008 12:59 PM by mjaneczk. 2 replies. Page 1 of 1 (3 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 08-28-2008 12:03 PM mjaneczk Joined on 02-18-2008 Dearborn, MI Posts 35 Putting the form's version number on the form Reply Contact I'd like to display the version number of the form on the form itself. Kind of a quick check on which version the user is using. Is there a way I can get the form's version number onto the form? Mike JaneczkoFord Motor Company 08-28-2008 12:33 PM In reply to Hilary Stoupa Joined on 06-20-2008 Posts 13,297 Re: Putting the form's version number on the form Mark as Not AnswerMark as Answer... Reply Contact Hi -- This formula in an expression box should do the trick: substring-before(substring-after(/processing-instruction()[local-name(.) = "mso-infoPathSolution"], 'solutionVersion="'), '"') Hilary Stoupa 08-28-2008 12:59 PM In reply to mjaneczk Joined on 02-18-2008 Dearborn, MI Posts 35 Re: Putting the form's version number on the form Mark as Not AnswerMark as Answer... Reply Contact Works like a charm. Thanks! Mike JaneczkoFord Motor Company Page 1 of 1 (3 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
I'd like to display the version number of the form on the form itself. Kind of a quick check on which version the user is using. Is there a way I can get the form's version number onto the form?
Hi --
This formula in an expression box should do the trick:
substring-before(substring-after(/processing-instruction()[local-name(.) = "mso-infoPathSolution"], 'solutionVersion="'), '"')
Works like a charm. Thanks!