Greetings,
I am using InfoPath 2007 and VBScript. I have an optional section where I have placed a repeating table whose xCollection name is group6_22. My Data source looks like
RepTable
filed1
filed2
OptSection
I am trying to add a row at the end of the repeating table. When I used the code
XDocument.View.ExecuteAction "xCollection::insert", "group6_22"
I received a debugger error message "The specified bstrAction value for the View.ExecutionAction call is not applicable for the current selection"
I appreciate if someone can tell me what is wrong specially if you know that the above code works if the repeating table is not placed inside an optional section.
Thanks in advance for the help.