Extract and Concat

B

Bryan Hughes

Hello,

How do I get the first letter in Field1, concat it with Field2 then put that
into field3?

-TFTH
Bryan
 
A

Andrew Ma [MSFT]

For Field3, create a function which has this Xpath:

concat(substring(field1, 1, 1), field2)

--
Andrew J. Ma
Software Test Engineer
Microsoft Office InfoPath
http://blogs.msdn.com/ajma
---------------------------------------
This posting is provided "As Is" with no warranties, and confers no rights.
Use of any included script sample are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.
Please do not send email directly to this alias. This alias if for
newsgroup purposes only.
 
B

Bryan Hughes

Mathew and Andrew,

I have used a rule a created this concat(substring(field1, 1, 1), field2)
usung the function button, but it is not working.
I have not tried using XPath. I will give that a try.

-TFTH
Bryan
 

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