Here's what I did for the corrupt forms (it turns out there were 4 out oaf
104 that were bad -- I haven't gotten to the modules yet).
-In A2002, I went into the VB Editor side, right-clicked the form code entry
in the project explorer window and selected "Export module ..." This saves
the file as a text file with the extension ".cls".
- In the form design window, I set the "Has Module" property of the form to
"No", saved the form and exited A2002. Now I've got a form with no attached
code.
- Loaded the DB into A2003 (it loaded fine at that point), highlighted the
form name in the database window and clicked on the "code" icon in the tool
bar to take me to a blank code module for the form.
- Opened the ".cls" file in Notepad, erased the header lines and the
"Attribute" lines that appear after each "Private WithEvents" declaration,
and copied the rest into the blank code module.
That fixes it. As I mentioned, I have the code modules yet to go through.
With any luck, they won't be a problem.
Thanks again for your help with this problem.
Here's what I did for the corrupt forms (it turns out there were 4 out oaf
104 that were bad -- I haven't gotten to the modules yet).
-In A2002, I went into the VB Editor side, right-clicked the form code entry
in the project explorer window and selected "Export module ..." This saves
the file as a text file with the extension ".cls".
- In the form design window, I set the "Has Module" property of the form to
"No", saved the form and exited A2002. Now I've got a form with no attached
code.
- Loaded the DB into A2003 (it loaded fine at that point), highlighted the
form name in the database window and clicked on the "code" icon in the tool
bar to take me to a blank code module for the form.
- Opened the ".cls" file in Notepad, erased the header lines and the
"Attribute" lines that appear after each "Private WithEvents" declaration,
and copied the rest into the blank code module.
That fixes it. As I mentioned, I have the code modules yet to go through.
With any luck, they won't be a problem.
Thanks again for your help with this problem.