Hammer wrote on Sep 20
th, 2007 at 5:42pm:
Quote:or just export the entire programming for the form, delete all programming, export form to XML, import XML form to new location, and import programming back into the form after it's in its new location.
Since the problem characters seem to be contained in your code, have you tried Carl's other suggestion?
That still fails. I looked inside the XML export for the form, and it includes functions code that was deleted from the GLOBAL code. GLOBAL secrion is definitely blank. Must be getting from another form?
In any case, I used a text editor and removed the programming section from the XML file. It was between tags for <specs> and </specs>. At that point, I did import again, and the file was accepted. I then opened up the form Program Editor and imported the code that had been exported earlier.
So, I am able to use brute force to import XML form, but still see a major bug in the Export XML area.
I am not sure I am causing other problems by manually editing the XML file. Taking some risks here. Problem is these files are not for me, so I don't end up with the inherent possible problems.
So steps are:
1. Copy the form to be exported to XML
2. Export the programming
3. Delete all programming. Many sections to be done, may be import a blank file will be quicker ?)
4. Save Programming Design
5. Export form to XML
6. Open XML file with text editor.
7. Locate unwanted programming between <specs> .... </specs> and delete all in between, including those tags.
8. Save the modified XML file.
9. Open destination application.
10. Use Database Manager, open the destination database.
11. Import modified XML file.
12. Open form design, open Program Editor, import the program file that was exported earlier.
13. Close editor and Save Layout Design.
14. Relink Form as needed,
15. Save Layout Design.
16. Test and troubleshoot as needed.