PS. A friend offered a few other possibilities for the slowness you experience opening queries:
"Betcha he's pulling the database from across the network, a heavy network load, the database
isn't split, the database is shared, Subdatasheet Names is set to [Auto] on all tables, and the
database file is located at least four or five subdirectories down from the root directory on the
server (sounds like more). A fast computer on his end with plenty of memory and disk space will
not help enough in this scenario."
Tell me you're not doing this....
Tom
_________________________________
Hi Wylie,
Something is seriously wrong if it takes 5+ minutes to open any query in design view, especially
with the PC you described. Do you have a LOT of applications running at the same time?
I would start by cleaning out the temp files folder, which is likely:
C:\Documents and Settings\UserName\Local Settings\Temp
where UserName is your logon name (it may be "administrator" if you are logging on as the admin).
Note that the Local Settings folder is normally hidden, but you can display it by setting an
option in Windows Explorer: Tools > Folder Options... Click on the View tab and select the
option button to "Show hidden files and folders".
I'd also clean out the Temporary Internet Files folder:
C:\Documents and Settings\UserName\Local Settings\Temporary Internet Files
and run a compact and repair on your Access database(s), after backing them up. Also compact the
folders used to store mail messages (Outlook Express) or compact the .PST file used to store
messages (Outlook). Then I would do a defrag of the hard drive.
Finally, I think I even go so far as to try creating a brand new Access database, and importing
each group of objects (tables, queries, forms, reports, etc.) one group at a time. You'll need to
reset any startup options and ensure that the references are the same. Then see if your queries
still take this long to open in design view.
Tom
___________________________________
Thanks for getting back to me. I read about these and other recommendations
in Access 2003 on line help for trouble shooting object dependencies. One of
which deleted the Name maps (removing the check for the option) and then
checking the box to turn them on. The latter on caused Access to go 90-100%
CPU bound for 4-6 hours. Ouch!
I had hoped for less than the 90 minute exercise it will take to open in
design view, save and close each object. Some of my crosstabs+Maketables
take 5+ minutes to open in Designview on a Win2K 2.5 GHZ machine with .5gb of
memory and lots of disks and space.
Since the "Object Dependencies" option is not even appearing on the pull
down "View" menu (in bold or grey) I believe the problem may go deeper in
Access's design. Access has the bad habit of leaving around broken object
aritifacts and not cleaning them up or flagging them as errors.
Thanks for the help,
Wylie C.
Tom Wickerath said:
I have not watched the "OD" video, as I'm still using Access 2002, but I suggest updating the
"name maps" for the objects in your database. This is accomplished by opening each object (table,
query, form, report, etc.) in design view and then saving the object.
Tom
_____________________________________
I'm using Access 2003 on a .mdb database created in a Access 2000 format. I
have gone to the Tools>Options>General>NameAutoCorrect and have selected all
three options to activate the features needed to utilized the Object
Dependencies. Nothing has been imported. When I go to the "View" tab on the
tool bar no "Object Dependencies option is displayed. I've watched the "OD"
video demo - while moderately entertaining it gives no trouble shooting
information.