Solved

Access continuous form takes 100% cpu

Posted on 2012-04-11
9
382 Views
Last Modified: 2012-06-22
I have a problem with an Access application that we have.  It runs fine on our XP PC's but has a problem with a few continuous forms, when run on our Windows Server 2003.  We are using Access 2003.  I am concentrating on one single form - this happens with several similar forms.

The problem is that the listing (of journeys) uses a query that links the journeys table with the driver and passenger tables.  When the form is opened it displays the data from the journey table, but the data from the driver and passenger tables is blank and the server cpu is up around 80 - 100%.  If left for a few minutes it will eventually display.
I repeat that this only happens on the 2003 server.  In all cases the backend is running on a second server (our main file and domain server).

The tables are not significantly larger than they have been in the past.

I have taken the liberty of attaching a cut down database and backend (no sensitive information).

I would welcome any suggestions as to how this problem can be diagnosed and fixed.

Best regards

Richard Tomalin
Car-Service-Database-TESTING-FOR.mdb
Car-Service-Database-be.mdb
0
Comment
Question by:rltomalin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 37833269
Are you employing an indexing strategy on these tables?

If you run the query on its own, how long does it take?

Anything complex with the form? (Images, calculated controls, VBA code...etc)
0
 

Author Comment

by:rltomalin
ID: 37833351
There's nothing really complicated.  If I run the query on it's own (even on the server) it returns instantly.

I can't see anything complex that would slow it down (I have attached the db so folks can look at it).  And anyway, it works fine on an XP PC so it seems like it could be a server issue.  I have re-installed Office on the server but it made no difference.

You can check the indexes on the tables - I think they are just a simple index on the Passenger/Driver ID numbers.

Regards

Richard
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 37833889
<I have attached the db so folks can look at it>
It did not attach...
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:rltomalin
ID: 37834018
Hello Boag2000
It's there.  I attached it when I compiled the original question.

Regards

Richard
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 500 total points
ID: 37834244
LOL

Ok I see it in your initial post...

Is the number of records in the BE representative of the actual number?

Then only thing I can see is the calculated fields in the form (especially the nested IIF)
Try putting these calculations in the forms recordsource and see if that makes any difference.

If you create a "test" copy and combine the FE and BE, and put them both on the server, what the performance like?
0
 

Author Comment

by:rltomalin
ID: 37834307
Yes the BE is the actual size in terms of records.
I will try the things that you suggest - thanks

Regards

Richard
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 37835578
Then put the "Combined" DB on your local machine and test...
0
 

Author Closing Comment

by:rltomalin
ID: 37836741
Hi Boag2000
Thanks for the suggestions.  I have moved the calculated fields into the query and that seems to have solved the problem.
I still do not understand why (a) the problem only occurs on our server and (b) why similar forms with the same calculated fields work fine.
But life's too short to worry too much about that - it all seems to be working fine now.
Thanks for your help.

Regards

Richard
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 37838147
;-)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question