Old forms don't work, even after removing code - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Old forms don't work, even after removing code

Last post 04-04-2012 08:44 AM by Doreen. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-02-2012 05:28 AM

    • awm33
    • Not Ranked
    • Joined on 03-02-2012
    • Posts 1

    Old forms don't work, even after removing code

     Hi everyone, I recently had to recreate a form that was created in InfoPath 2007 in InfoPath 2010. The old form used a lot of custom code and was done by a third party years ago. So I recreated the form, at first without code, using rules repeating sections etc., then I had to add code after the user wanted a lot of default text loaded into multiple sections and tables. I used the same data structure / XML structure as the previous form, so that all the previously filled out forms could be moved over. I had been copy and pasting the heading of the new XML files generated by the template to the old XML files. It worked perfectly before I added the code. After I added the could I get an error, and even after removing the code I still get the error, "Schema validation found non-datatype errors." I don't know what is causing this, the only difference between before and after is the code, which still gives an error even after I remove it.

     Any help is greatly appreciated!! really stuck on this one

  • 04-04-2012 08:44 AM In reply to

    • Doreen
    • Top 50 Contributor
      Female
    • Joined on 08-11-2010
    • Federal Way, WA
    • Posts 291

    Re: Old forms don't work, even after removing code

    I am a newbie - so not sure this has anything to do with your problem,  but one thing that has caused me to not be able to open a form with code that previously worked is a disconnect from the InfoPath project file. You might check where the project file is located and re-wire it up again.  I've noticed if you move a form template, or save as, sometimes a new project file is created and it's looking for the old project file.

    In IP 2007: Tools > Form options. Click on Programming from Category list.  In Programming Language section look where your project path is location under " Project location for VB and C# code:"

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