VBScript to delete rows from a repeating table - InfoPath Dev
in

InfoPath Dev

VBScript to delete rows from a repeating table

Last post 05-31-2011 08:31 AM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-25-2011 12:48 PM

    • Hydro
    • Not Ranked
    • Joined on 05-25-2011
    • Posts 1

    VBScript to delete rows from a repeating table

    Hello!

     I've done some research and found references to methods to delete rows from a repeating table (DeleteSelf() and DeleteRange), all of these seem to be in JScript or VBA but I have not had success implementing these in VBscript.

    I'm trying to use this:

    XDocument.DOM.SelectSingleNode("//my:myFields/my:group15/my:group16[2]").DeleteSelf()

     I receive an error stating that the method is not supported. Can anyone point me in the right direction? Thanks!

     

  • 05-31-2011 08:31 AM In reply to

    Re: VBScript to delete rows from a repeating table

    You are looking for removeChild. Here's a post I found online that may help you.

    Hilary Stoupa

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