Solved

Access continuous form takes 100% cpu

Posted on 2012-04-11
9
377 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
  • 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
 

Author Comment

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

Regards

Richard
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

My experience with Windows 10 over a one year period and suggestions for smooth operation
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

743 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now