Doug,
I opened the 97 version of the Utility database and added "vbVersion30" as
an option for CreateDatabase.
'-----------------
Set dbsHomedata = wrkDefault.CreateDatabase("C:\Transfer\Homedata.mdb",
dbLangGeneral, dbVersion30)
'-----------------
I converted the Utility database to Access version 2000 and successfully
used it under Access 2007 to create "Homedata.mdb", which could then be
opened under either Access 97 or Access 2002/2003. -- great!
So far, so good.
However, the 97 version of the Utility database no longer works for creating
this "Homedata.mdb" file, producing the dreaded: "This program has performed
an illegal operation and will shut down ...". Removing that option results
in the 97 version working fine just as it always has.
"Compile and Save All Modules" never grays out with this option present.
This is Access 97, SR2, Jet35sp3
References:
Visual Basic for Applications
Microsoft Access 8.0 Object Library
Microsoft DAO 3.5 Object Library
Any ideas?
Thanks,
Mark