Link to home
Start Free TrialLog in
Avatar of DB8163
DB8163

asked on

Form in Access 2000 opens really slow?

I have a form in a 2000 database that opens very slowly it takes at least 5 min. The form itself is not very complex. There is some basic command button coding on the form, and there are about 4 or 5 sub forms on this one form. Underlying the form and the sub forms are saved queries, not SQL. I think that this could be the problem but I'm not really sure. It only takes that long to load the first time if you close the form or go into design view the form will open quickly. But once you exit the database or access it will take a long time to load. I have done several other databases in 2000 and I have not had this problem before. (Unfortunately I did not design this database I'm just supposed to make it faster.) Any ideas would be welcome.

Thanks
Avatar of MacRena
MacRena
Flag of United States of America image


*  Copy the database and save the original - do the following to the copy
*  Delete objects on the form that have saved queries, and delete their saved queries, then close and reopen the db. (one object at a time) until you isolate the problem object/query.  Continue until the form is blank and the queries that are associated with the form are gone.
If this didn't isolate the problem, delete that form.
If this didn't isolate the problem, Zip & email the db(s) to my email address in my profile.

Mac
One of the "long first time opening" reasons is a large the number of functions in one (or more) modules in the database.
When your form uses one function from a large module, the entire module is compiled..
Just try to split these modules into multiple.

Nic;o)
Avatar of dgorin
dgorin

Is everything on one computer?  If not, there may be some kind of network issue slowing things down.  Possibly there is a hardware problem.  I have replaced a few hard drives that go into the slow motion mode, one day working normal speed next day taking 20 minutes to start windows 98.
Hi DB9163,

>>>>Underlying the form and the sub forms are saved queries, not SQL.

If the table(s) that are queried with the underlying queries are large and you perform in the query actions such as GroupBy and/or OrderBy and/or Union, then this might take long to accomplish for the first time, as access has to build the indexes for the query on first activation.

If you run the queries by themselfs (double click the query name in the Query tag), does it takes as long to complete as it takes the form to open the first time?

Nosterdamus
BTW, queries are translated to SQL sentences...

Nosterdamus
Avatar of Jonathan Kelly
i have had similar problem.
importing all objects to a new db fixed the issue for me!

ASKER CERTIFIED SOLUTION
Avatar of wib
wib
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
DB8163:

I see that you've logged in within the past couple weeks.

This is a free technical support site.

Experts who answer questions here receive no pay or other compensation except Expert points as a result answering questions and being awarded points.

As a result, and as a Moderator of this forum, my goal is to ensure that Experts and Askers alike no longer allow questions to get stale.

Please provide that feeback now. It's greatly appreciated!

If you need any help at all in cleaning up this or any other questions, don't hesitate to contact me via email. I will assist in any way that I can.

thanks
amp
community support moderator
amp@experts-exchange.com
Per recommendation, force-accepted by
Netminder
CS Moderator

MacRena: points for you at https://www.experts-exchange.com/jsp/qShow.jsp?ta=msaccess&qid=20292021