Need formula to capture the version number.

S

sboyd

I'm using InfoPath 2007 and I would like to include an expression
field with a formula to capture the version number so it displays on
the form.

Can this be done?

Thanks
sboyd
 
S

splithare

Try this formula:

substring-before(substring-after(/processing-instruction()[local-name(.) =
"mso-infoPathSolution"], 'solutionVersion="'), '"')

I have tested this and it works for me.
 
E

.-=] ExTrEmE [=-.

I'm using InfoPath 2007 and I would like to include an expression
field with a formula to capture the version number so it displays on
the form.
Can this be done?

I think your are talking about a sharepoint published form..
so...
I don't know exactly if there's a way to do it.. but you can check if
there's a webservice that can retrieve this information.
If it exist you can simply create a connection to this webservice inside
infopath and use it.
 
S

sboyd

Try this formula:

substring-before(substring-after(/processing-instruction()[local-name(.) =
"mso-infoPathSolution"], 'solutionVersion="'), '"')

I have tested this and it works for me.



sboyd said:
I'm using InfoPath 2007 and I would like to include an expression
field with a formula to capture the version number so it displays on
the form.
Can this be done?
Thanks
sboyd- Hide quoted text -

- Show quoted text -


It worked! Thank you so much.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top