Solved

Access continuous form takes 100% cpu

Posted on 2012-04-11
9
381 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

734 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