Conversion errors Access 7.0 -> Access 2003

D

davidj

I am trying to convert an Access 7.0 file to the 2003
program. I get an error message: "Visual Basic
Applications project in database is corrupt". I then
created a blank database in 2003 imported the existing
tables without problem. However, I can't import the forms.
I copied a form and stripped it of ALL code, but I still
get the same error message.

Any ideas or suggestions? I can't even get the structure
of the form imported and I was prepared to cut and paste
the code and recompile it, etc.
 
D

david epsom dot com dot au

See if you can SaveAsText to recover the forms:

dim dbs as dao.database
Dim cnt As DAO.Container
Dim doc As DAO.Document

Set cnt = dbs.Containers("Forms")
For Each doc In cnt.Documents
Application.SaveAsText acForm, doc.Name, sFolder & doc.Name & ".txt"
Next doc

(david)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top