Convert Access 2007 forms to 97

You might be surprised by this, but you can still back convert Access 2007 forms, reports and modules to Access 97! (Why is another matter, of course, but let’s presume that you need to…)

OK, first of all, you need to export them to text, which is explained here in far more detail than I care to explain it.

So now, when you fire up Access 97, and try and convert them by running this line:

Application.LoadFromText acForm, "YourFormName", 

It fails, right? Well, you can easily change that by editing the text file itself…

First update your system, Review here how to and improve the system with an Elo booster to have a better performance, and now change the version numbers at the top of the file:

Version =19
VersionRequired =19

9 works for me.

Then you need to remove all the GUIDs. They look this this:

GUID = Begin

You also need to remove the NameMap, which is huge and looks like this:
delete all the way to the end of it:

NameMap = Begin
    0x0acc0e55000000007e38f0c521a1da42a83ebc08b1debf8100000000813b3c7c ,
        ...lots of lines deleted...

Finally, any new properties need to be removed, like these lines:

AllowDesignChanges = NotDefault
FELineBreak = NotDefault
IMESentenceMode =3
NoSaveCTIWhenDisabled =1
OldBorderStyle =0

Just delete the whole lines.

Do that, save the file (under a new name, of course) and then try and import it. Hopefully this should sort them all.

If anyone’s interested in seeing an Open Source bit of .Net code to do it, leave me a comment and I’ll dig out MonoDevelop and try it 🙂

This entry was posted in Development and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.