Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / June 2007

Tip: Looking for answers? Try searching our database.

Get the display name of the selected Drop Downlist box Instead of Value

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kc.reddy.2000@gmail.com - 21 Jun 2007 07:09 GMT
Hi Guys,

I have a dropdownlistbox with 4 Items, which are entered manually like

Value                           DisplayName

0                                 Patient

1                                Nurse

2                                 Doctor

3                                Referral

Lets say user selects Nurse, I want to send Nurse to the database and
not 1 but when I use the code

mainNav1.SelectSingleNode("/dfs:myFields/my:ComboReason",
NamespaceManager).Value it returns 1 but I want to get the actual
DisplayName, how can I do it plz let me know ASAP.

Thanks very much guys

Cheers

Chandra
Ramana - 25 Jun 2007 14:10 GMT
Hi,

When are you taking the dataconnection to the dropdown, you need to select
"Display name" for value field.

I hope this will help for you.
Signature

k.Ramana Reddy
http://www.autonomysystems.com

> Hi Guys,
>
[quoted text clipped - 22 lines]
>
> Chandra

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.