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 / October 2006

Tip: Looking for answers? Try searching our database.

DOM question (w/SOAP)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jeff - 24 Oct 2006 16:00 GMT
Hello all,

I have a custom script setup for my Submit button that is supposed to submit
the data using SOAP.  With hard coded values it works fine, but when i start
replacing the hard coded values with references to the form fields it doesnt
work.  NOR do I get an error message.

Here is the line of code that i replaced with myField values instead of hard
coding - any ideas what i have wrong?  I am building a string variable for
the whole SOAP command and this is the part that i am changing.

<er:DBCell er:include=""Column[Name='To']""><er:Content>" &
XDocument.DOM.selectSingleNode("//my:myFields/my:To").text &
"</er:Content></er:DBCell>" & _

I originally had this with the hard coding and it worked fine:

<er:DBCell er:include=""Column[Name='To']""><er:Content>"Jeff
Reed"</er:Content></er:DBCell>" & _

Signature

Jeff Reed

Jeff - 24 Oct 2006 16:06 GMT
DOH!!! nevermind - i figured it out.

User Error!
Signature

Jeff Reed

> Hello all,
>
[quoted text clipped - 15 lines]
> <er:DBCell er:include=""Column[Name='To']""><er:Content>"Jeff
> Reed"</er:Content></er:DBCell>" & _
 
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.