Please help to debug - InfoPath Dev
in

InfoPath Dev

Please help to debug

Last post 09-18-2008 04:34 AM by Shiva. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-12-2008 02:39 AM

    Please help to debug

    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
    • Top 25 Contributor
    • Joined on 04-15-2005
    • India
    • Posts 694

    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.

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.