Why does text field in InfoPath 2010 show user name with two commas between first name and last?

Here's the problem. I have a text field called Manager in an InfoPath 2010 form that is getting populated by a drop down field called
Business Unit.
The Business Unit drop-down field is pulling information from
column A in a custom list via a managed data connection. The custom List has two columns:
Title & Manager. 
The Manager column in the custom list is a 'Person or Group' type column.
The Data Connection pulls both the Title, Manager
(and ID) data.
There is a rule on the Business Unit drop-down field to change the value of the
Manager text field with the Manager data on the custom list. The rule pulls the
Manager information and filters the value to match the
Business Unit on the Data Connection with the Business Unit drop-down
field value (Main).
The Business Unit drop-down field works great and pulls the value from the custom list, and the rule populates the Manager text field. The problem is that Manager text field shows the name as such:
[smith,, john]. Notice the two commas between the last and first name. There should only be
one comma!
Anyone have an idea why the text field is appearing with two commas?
Arnel

Hi all,
I have a workaround for this. I have an InfoPath 2010 form pulling data from a SP2010 list. The user chooses a System (Business Unit) from the dropdown list and that choice auto populates the associated user (Manager) for that system. I had to
use concatenation, substring before and substring after to display the correct data.
concat(substring-before(DisplayName, ",, "), ", ", substring-after(DisplayName, ",, "))
DisplayName is the original data for the field. I am able to cut & paste this field into the formula. Therefore, I added a few spaces to separate it from the actually formula for future use.
Select Insert Function
Select concat
Select the first link to double-click to insert field
and then select Insert Function
Select the Text category and choose substring-before
Select the third link to double-click to insert field
and then select Insert Function
Select the Text category and choose substring-after
Copy and paste your fieldname (in my case DisplayName) in the
double-click to insert field
parts of the substring-before and substring-after links.
Delete the middle double-click to insert field link
Add quotes, spaces and commas so that they match the following format:
concat(substring-before(DisplayName, ",, "), ", ", substring-after(DisplayName,
Translation:
concat(substring-before(Doe,, John, ",, "), ", ", substring-after(Doe,,
John, ",, "))
Bring together all of the text before ",," (i.e. Doe) with ", " (comma, space) and all text after ",," (i.e. John).
It should return
Doe, John.
I hope this makes sense. I have these instructions with screenshots if you need them, contact me.

Similar Messages

  • Why does my mac mini's mouse show a pinwheel every time I hover over the date area? Also, sometimes the date shows up incorrectly.

    Why does my mac mini's mouse show a pinwheel every time I hover over the date area? Also, sometimes the date/time shows up incorrectly. It started happening after I updated to OS X Mountain Lion.

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
    Click the Clear Display icon in the toolbar. Try the action that you're having trouble with again. Post any messages that appear in the Console window – the text, please, not a screenshot.
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into a message.
    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.

  • HT1245 Why does my caller I.D. photos show as a small thumbnail in the upper right corner and not full screen? I have used both photos I have synced and photos I have taken, yet others have full screen photo I.D.'s.

    Why does my caller I.D. photos show as a small thumbnail in the upper right corner and not full screen? I have used both photos I have synced and photos I have taken, yet others have full screen photo I.D.'s. I have looked onlime at several threads and there are no real answers as to what I need to do or am doing wrong.

    I am also having this issue.
    I've just spoken to someone in the Apple Support Centre who advised me that since the product is in beta, he is unable to assist. I wanted to find out whether someone was able to delete the data for me, or 'reset' the photos app somehow. This apparently cannot be done. He suggested I provide feedback via the feedback page, which I will do, but to be honest doesn't fill me with a lot of confidence in the issue being fixed.
    I also deactivated the service and waited the 30 days for the pictures to be deleted - this should have been completed in mid-January. Instead, my iCloud.com Photos page is now showing the photos that should have been deleted as grey squares, just as you described. I am also unable to delete these photos; every time I try, I get the same message about a server error.
    I am also unable to disable the service by enabling and then disabling it on my iPhone. Each time I have tried this it hangs on uploading for several hours, with the progress bar not moving at all. When I disable it on my iPhone, the web app remains unchanged.
    If anyone has had this issue and has managed to fix it, PLEASE share your wisdom. I am out of patience!

  • Why does Transfer purchases FROM sync TV shows TO ipad?

    Why does iTunes automatically sync my TV shows BACK to my ipad after I choose "Transfer purchases FROM my ipad" under File-->Devices
    I don't want them on the ipad. I have unchecked all of the boxes next to the TV shows.

    Hi mmttpp,
    I apologize, I'm a bit unclear on the exact nature of the issue you are describing. If you are having issues when transfering your purchases from your iPad to iTunes directly, you may want to try redownloading them directly to iTunes, as noted in the following articles:
    Download past purchases - Apple Support
    Re-download or transfer your iTunes Store purchases from an iPhone, iPad or iPod to a computer - Apple Support
    Regards,
    - Brenden

  • Guys...Why does my email from my iPhone show up as Gmail versus my email address @ Gmail?

    Guys...Why does my email from my iPhone show up as Gmail versus my email address @ Gmail?

    That's a question she may want to ask Samsung...

  • TS2516 Why does text disappear from some of the pages?  No matter what I do, to include reviewing spelling, the text will disappear in preview mode.

    Why does text disappear from the pages in my iPhoto book project?  When I try to buy the book, it comes up with spelling errors (which are names that the dictionary doesn't recognize), but even after clicking "ignore", the text disappears when I preview the book.  Even this is inconsistent because the same words appear on other pages.  There is text on other pages that disappear for no apparent reason.  This has become very frustrating and time consuming.

    Are you previewing using this method?  http://support.apple.com/kb/PH2486
    LN

  • Why does my I MAC boot but shows no display and fan is loud?

    Why does my I MAC boot but shows no display and fan is loud?

    Reset the SMC a couple of times and then post back. Instructions are:
    Shut down the computer. 
    Unplug the computer's power cord and all perihperals.
    Wait fifteen seconds. 
    Attach the computer's power cord. 
    Wait five seconds, then press the power button to turn on the computer.

  • Why does my mac book pro not show in 1080p on my flat screen

    why does my mac book pro not show in 1080p on my flat screen. My mac bookpro always showed in 1080p on a Sanyo Plasma screen. Now when I connect mac book pro I get a blank screen. It will display in 720 but not 1080p. Also will show in 1080i but pictures flicker.

    davenug,
    given how much we currently know about your MacBook Pro, why do you think that we would know the reason? Please help us to help you by providing relevant information about your MacBook Pro — which model is it? Which version of OS X is installed on it? Is its battery fully charged? Is its AC charger working properly? &c.

  • On my mac why does it take so long to send a Email with an attachment, on my mac why does it take so lone to send a Email with an attachment

    on my mac why does it take so long to send a Email with an attachment, on my mac why does it take so lone to send a Email with an attachment

    It depends on the size of the attachment and the speed of your internet connection.
    Next time you send an email with an attachment do these two things:
    In Apple Mail (I assume you are using Apple Mail), under the Window menu select Activity. Arrange the Activity window so you can see it.
    Then open the separate application located in the Utilities folder called "Activity Monitor" and arrange it so you can see it at the same time as the Activity window in Mail.
    In Activity Monitor program, select the tab labeled "Network." Watch the "Data sent/sec" portion. Then send your email, while watching the Mail Activity window and also the Activity Monitor program window Data sent/sec area.
    You should see the mail being sent with a progress bar in the Mail Activity window and also you should be able to see how many bytes/sec or KB/sec or MB/sec your internet connection is giving you in the Activity Monitor window.
    Example: my internet provider gives me about 20 Megabits per second download and 5 Megabits per second upload. To convert these to Megabytes per second (Activity Monitor shows things in bytes, not bits), simply divide by 10 (not the exact thing to do, but close enough). So I get 0.5 Megabytes per second upload speed. When I send a file that is 5 Megabytes in size, it takes about 10 seconds if I am getting the full upload bandwidth. If I am getting less than that (which sometimes happens), it will take proportionately more time. Either way, you can see what is happening with these two windows.
    If your internet provider is supposed to give you, say, 5 Megabits/sec upload (0.5 Megabytes/sec), but you see only say, 5 KB/sec (=0.005 Megabytes/sec), sent in Activity Monitor, then your emails are taking a long time because you are getting only abut 1/100 the speed you should be. You might want to check with your internet provider about that.

  • Why does my laptop give me a warning saying that firefox is using too much memory and to restart firefox to be more efficient? I just bought this laptop so I know it has the power to run what I need it to.

    Why does my laptop give me a warning saying that firefox is using too much memory and to restart firefox to be more efficient? I just bought this laptop so I know it has the power to run what I need it to.

    You appear to have AVG installed:
    *See --> http://forums.avg.com/ww-en/avg-forums?sec=thread&act=show&id=173969#post_173969
    From reading on the internet, it appears that when there is a spike in memory usage, AVG "interprets" that as a memory leak, possibly caused by malware. AVG could be incorrect concerning that assumption. Maybe they are being a bit too conservative about memory usage; just my opinion.
    The decision is yours to turn off the "advisor" or leave it on.
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *'''''Adobe PDF Plug-In For Firefox and Netscape''''': [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *'''''Next Generation Java Plug-in for Mozilla browsers''''': [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • Why does my ical on my ipod touch not sync with my ical on my desktop if I put in an event on the ipod calendar?

    Why does my ical on my ipod touch not sync with my ical on my desktop imac ical?
    It will if I put it in on my desktop though.
    Please help,
    Brie

    Probably because you did not tell the iPod to sync the calendar in iTunes.

  • Why does Apple iPad Camera Connection Kit no longer work with iOS8

    Why does Apple iPad Camera Connection Kit no longer work with iOS8?

    The kit is firmly inserted in thhe iPad's dock ? You could also try a reset and see if it's recognised after the iPad has restarted : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.
    I haven't had problems using the kit with SD cards from Canon cameras . What capacity is the card, and it's an SD or SDHC card - if it's an SDXC card that's formatted as ExFAT then it won't be recognised

  • What, exactly, are 'encoded assets'? Why does removing them resolve problems? How can they be avoided in the first place?

    What, exactly, are 'encoded assets'? Why does removing them resolve problems? How can they be avoided in the first place?

    As I understand it, encoding fomats your digital video clips and photos (assets) into Standard DVD mp2 format so that it can be burned to a DVD.  If there has been an error in the encoding process, then you remove the old encoded assets and start over.  There are numberous reasons why there can be errors in the encoding process. 

  • Why do the new maps in ios6 show many wrong English translastions about Hong Kong Streets and buildings?

    Why do the new maps in ios6 show many wrong English translastions about Hong Kong streets and buildings?

    TL/DR If your item has not arrived from Asia by 30 days after cleared payment, go to the Resolution Centre and open an Item Not Received Claim. If the seller cannot prove delivery, you will be refunded.  

  • Why does Maverick mail no longer search properly? I used to search for a name and it would find it in All mailboxes. Now it sometimes works, but mostly not. Any solutions?

    Why does Maverick mail no longer search properly?
    I used to search for a name and it would find it in One or All mailboxes. Now it sometimes works, but mostly not. Any solutions?

    I would like to add that Comcast is my internet provider. Perhaps that is part of the issue although the Connection Doctor confirms the mail box is connecting to the internet. No other function processes when Connection Doctor program is used to find the source of the issue. I have read forum posts but am unable to find a way to get my Apple mail to be delivered to my computer. It worked fine up until I chose to transfer mail to the Cloud. My mail account is a .mac account.
    Still hoping someone out there can help me.
    thanks,
    anne

Maybe you are looking for

  • How to create a view to show files Group By Title and Version

    Hi, I am trying to create a view in a document library as follows. 1. Group by File Title. 2. Group by Version. like following image - In this image i want to replace "Version:" with file name. - In next line, DocV1 has 3 versions. Then it should be

  • How do I specify Adobe Reader X as my default PDF reader in FireFox 4.0

    I have been using Nuance PDF Reader 6 as the PDF plug-in in FireFox, bus since installing FireFox 4, I have experienced issues with the Nuance reader. For example, when displaying a PDF file, the elevator does not work. If I can capture the URL of th

  • Characterset issues

    Hello all, I'm having some persistent characterset issues. I (PHP-, no Coldfusion programmer) have been working on this site that uses Mysql 5 and fusebox 3 as framework and a lot of tailormade coldfusion scripts, but can't get this problem under con

  • Value based reports

    Hi friends, I have column which contains 3 values , ex :Column A contains values 1,2,3. and i have 3 reports.like Rep1,Rep2,and Rep3. If i click on value 1 , it should go to Rep1........ How can i give? Thanks....

  • How to connect google maps with oracle

    Hello people , i read an artical there is a way to connect google maps with oracle . can anyone give us lesson or more information to do that ? regards .