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 / July 2005

Tip: Looking for answers? Try searching our database.

How to set the value of a text box

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paul B - 19 Jul 2005 10:29 GMT
Hi

I am having a real problem setting the value of a text box that has been set
to only accept integers.

How do i do this. I have tried
XDocument.DOM.selectSingleNode("/my:myFields/my:flag").nodeValue = 1;
and
XDocument.DOM.selectSingleNode("/my:myFields/my:flag").text = "1";

None work and i am running out of ideas.

please help
Paul B - 19 Jul 2005 11:34 GMT
I have found the answer
XDocument.DOM.selectSingleNode("/my:myFields/my:flag").text = 1;

> Hi
>
[quoted text clipped - 9 lines]
>
> please help
 
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.