Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / September 2007

Tip: Looking for answers? Try searching our database.

performance issue in form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kowsy - 17 Sep 2007 14:14 GMT
I have a table which has index on id and Amount field (table 1). The table1
has more than 20,000 records and will keep increasing. There is another table
table2 which is related to table1 by id.
I have created a form based on the query which links table1 and table2 by id
and on the form footer I have a unbound text field which calculates the sum
of amount.
Sometimes it takes 5 to 10 seconds to calculate sum, sometimes it takes for
ever to calculate the sum. The performance keeps changing
I tried removing the index in table1 also but there is no improvement in
performance.
But I had a old database which is doing the same task and it populates the
sum on loading the form immediately.
Can some one help on what I am missing?
Any help would be greatly appreciated.

Thanks & Regards
Kowsy
SteveM - 18 Sep 2007 00:36 GMT
You should have an index on both ID fields.
You probably don't need an index on the Amount field...unless you have any
queries that pull out records by their value.

Have you tried opening the query? Is it slow?

What is the formuls for your calculation?

Steve

> I have a table which has index on id and Amount field (table 1). The table1
> has more than 20,000 records and will keep increasing. There is another table
[quoted text clipped - 13 lines]
> Thanks & Regards
> Kowsy
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.