When you saved your form modules as text, did you also save your other
modules as text, set the forms and reports HasModule property to No, then
copy the objects to a new, empty database, and then reload the modules from
text?
My guess would be that something is corrupted, and this additional step may
be helpful.
There's very good information on corruption, and on recovering from it, and
avoiding it at MVP Tony Toews' website,
http://www.granite.ab.ca/accsmstr.htm. It would be worth your reviewing.
And, you might take a look at the content at http://www.accessmvp.com/ where
MVP's Arvin Meyer, Doug Steele, and Jeff Conrad have contributed
information.
Larry Linson
Microsoft Access MVP
> How to deal with a VBA-project that is damaged?
>
[quoted text clipped - 50 lines]
>
> Regards BigOlle
olle@ylm.se - 31 Jul 2007 07:20 GMT
hi Larry.
Thanks for your advice.
No, I haven't copied all moduls as text and imported them to a new
database.
It is so many forms and so many reports and so many modules in my
applikation so I haven' t done this yet.
Guess I will have to do it.
(but i Haven't get corruption for 6 days now)
Regards Olle
> When you saved your form modules as text, did you also save your other
> modules as text, set the forms and reports HasModule property to No, then
[quoted text clipped - 73 lines]
>
> - Show quoted text -
olle@ylm.se - 31 Jul 2007 07:29 GMT
Hi Again Larry.
Now I have I new question:
About 10 days ago I had a corrupt database (mdb-file).
And I got corruption, error messages even afte importing
a form without module. I wonder if you think that that is possible,
I think that it was a form that was a copy of another form.
That was form FrmMySeachform_070726_1 . I was working in the form
frmMySearchform. (I make backup-copies of the forms that I am working
on this way)
What do you think?
/regards Olle
> > When you saved your form modules as text, did you also save your other
> > modules as text, set the forms and reports HasModule property to No, then
[quoted text clipped - 61 lines]
> > > errormessage.
> > > ("VBA-project is damaged")
> > > I have noticed that on decompile and converting get the message that
> > > the form FrmMySeachform_070726_1 can't be loaded. And this is when I
[quoted text clipped - 9 lines]
>
> - Show quoted text -