Please help to debug - InfoPath Dev Sign in | Join | Help in General InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » General » Please help to debug Please help to debug Last post 09-18-2008 04:34 AM by Shiva. 1 replies. Page 1 of 1 (2 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 09-12-2008 02:39 AM Jollybaba Joined on 09-08-2008 Posts 10 Please help to debug Reply Contact When i write this following small code i am getting error in the red line. Kindly help. Sub CTRL104_5_OnClick(eventObj) Dim Startday Startday= XDocument.DOM.selectSingleNode("/my:Try_here/my:Leave_table/my:From/@my:Day").text End Sub R S Kiran 09-18-2008 04:34 AM In reply to Shiva Joined on 04-15-2005 India Posts 694 Re: Please help to debug Mark as Not AnswerMark as Answer... Reply Contact Hello, First check the below code once, try { Startday= XDocument.DOM.selectSingleNode("/my:Try_here/my:Leave_table/my:From/@my:Day") } catch(Exception ex) { Dim str = ex.Message } Using above code you will get the ‘Day' node or not. Shiva / http://www.ggktech.com Page 1 of 1 (2 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
When i write this following small code i am getting error in the red line. Kindly help.
Sub CTRL104_5_OnClick(eventObj)
Dim Startday
Startday= XDocument.DOM.selectSingleNode("/my:Try_here/my:Leave_table/my:From/@my:Day").text
End Sub
Hello,
First check the below code once,
try
{
Startday= XDocument.DOM.selectSingleNode("/my:Try_here/my:Leave_table/my:From/@my:Day")
}
catch(Exception ex)
Dim str = ex.Message
Using above code you will get the ‘Day' node or not.