On Tue, 22 Jun 2010 20:58:15 -0400, David G. <(E-Mail Removed)>
wrote:
I get this occasionally as well.
> I set up a VM on my XP machine so I could install the Office 2003
>software and not worry about any conflicts with my Office 2007. Are
>there any known issues with Microsoft Virtual PC and Access 2003?
No.
>Are
>there other issues I should investigate to prevent this from happening
>in the future?
Not tthat I'm aware of.
>The "Compact and Repair" feature in 2003 seems useless.
In the case of objects other than tables, indexes and relationships
you are correct. To fix the other objects you must either copy and
paste from the database container window or import all the objects
into a new database file.
Corrupt Objects within a Corrupt Microsoft Access MDB
http://www.granite.ab.ca/access/corr...uptobjects.htm
The little documented SaveAsText and LoadFromText may help if an
object is corrupted or otherwise behaving weirdly.
At the debug/immediate window type:
Application.SaveAsText acForm,"MyForm","c:\form.txt
You can load the file into a new MDB.
Application.LoadFromText acForm,"MyForm","c:\from.txt"
Sample code at
http://www.datastrat.com/Code/DocDatabase.txt for
saving all objects in an MDB.
Tony