how to fix error: 'element is unexpected according to content model of parent element ' - InfoPath Dev
in

InfoPath Dev

how to fix error: 'element is unexpected according to content model of parent element '

Last post 02-25-2010 12:40 AM by SARISILVA. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 02-25-2010 12:40 AM

    how to fix error: 'element is unexpected according to content model of parent element '

    I am trying to move text from one repeating table to another. I actually have about 5 repeating tables. BUt, I keep getting the following error, whenever I try to add a row to the repeating table, whenever the code parent.appendChild(templeteRow) runs.

    THE ERROR:

    System.Runtime.InteropServices.COMException
    Element '{http://schemas.microsoft.com/office/infopath/2003/myXSD/2010-02-08T11-28-21}OutagePersonalGrid' is unexpected according to content model of parent element '{http://schemas.microsoft.com/office/infopath/2003/myXSD/2010-02-08T11-28-21}ReportFields'.

     Sometimes when I move my repeating table, that is  the "OutagePersonalGrid" in the error above, around the Data Source, this error does not occur. However, since I have many repeating tables, I am confused as to move which table to where in the datasource. I am using Infopath 2003.

    Why does this issue come in Infopath 2003. How can I totally get rid of it, is there a workaround?

     

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