472,333 Members | 1,127 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,333 software developers and data experts.

Deleting Records Before Packaging Causing Slow Reports

This one seems bizarre!

We have a database consisting of a main table and 12 - 15 "sub" tables,
which are connected via cascading relationships. The database performs
many complex calculations and displays the results in both forms and
reports. In the process of developing the database we "entered" 12
sample clients. Before packaging the database we remove the sample
clients by deleting them from the main table, which cascades the
deletions to the other tables.

The problem is this:

The reports we use to display the calculations and appropriate results
run in a reasonable time (8 to 10 seconds to open in display format)
before we delete the sample records and package the program. However,
when the sample records are deleted and the database is packaged, the
reports take 2 to 3 minutes to open. We have tried dozens of
combinations and the common factor which seems to slow the reports is
the deleting of the sample records. Packaging the software with the
sample records left in will allow the reports to run normally; however,
we obviously don't want the samples available to the end user.

In addition, we have two big reports (one is 40 pages and the other is
105). Both reports are a series of one and two-page sub reports
"stacked" onto a main report. Is there a better way to do this? We
also have a small occurrence of the bigger reports printing a blank page
or two when displayed in preview format. Any ideas?

Also, we use a series of "nested" queries to calculate and display
complex formulas. Is there a better way to do this?

Thank you! Coy
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #1
1 1797
If you have only tested with 12 sample clients and your users have hundreds
or thousands of clients, then the problem may be that the structure and the
stacked queries are inadequate.

Before you jump to that conclusion, though, be sure to follow through all
the issues listed in Tony Toew's excellent Access FAQ at:
http://www.granite.ab.ca/access/performancefaq.htm
The combination of issues like Name AutoCorect and subdatasheets can make an
order of magnitude difference.

Another factor is that Access the JET query optimizer compiles your queries
with a plan that makes sense at the time it was created. If the real data is
radically different, the queries might be using completely the wrong
approach. After you have a real-world scenario, try opening the queries in
design view and making a change (such as replacing a field with itself) so
as to force them to recompile.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Coy Howe" <cf*@olypen.com> wrote in message news:42**********@127.0.0.1...
This one seems bizarre!

We have a database consisting of a main table and 12 - 15 "sub" tables,
which are connected via cascading relationships. The database performs
many complex calculations and displays the results in both forms and
reports. In the process of developing the database we "entered" 12
sample clients. Before packaging the database we remove the sample
clients by deleting them from the main table, which cascades the
deletions to the other tables.

The problem is this:

The reports we use to display the calculations and appropriate results
run in a reasonable time (8 to 10 seconds to open in display format)
before we delete the sample records and package the program. However,
when the sample records are deleted and the database is packaged, the
reports take 2 to 3 minutes to open. We have tried dozens of
combinations and the common factor which seems to slow the reports is
the deleting of the sample records. Packaging the software with the
sample records left in will allow the reports to run normally; however,
we obviously don't want the samples available to the end user.

In addition, we have two big reports (one is 40 pages and the other is
105). Both reports are a series of one and two-page sub reports
"stacked" onto a main report. Is there a better way to do this? We
also have a small occurrence of the bigger reports printing a blank page
or two when displayed in preview format. Any ideas?

Also, we use a series of "nested" queries to calculate and display
complex formulas. Is there a better way to do this?

Thank you! Coy

Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: rishi | last post by:
Looking for tips on how to improve performance on deleting records. In our database we do dataloads daily that require us to purge millions of...
5
by: Alex | last post by:
Hi, I have two tables , A and B where table B has a foreign key constraint to table A. I want to delete all records in table A that are older...
3
by: Nathan Bloom | last post by:
Hi, I have a data entry form (access 2000) that also allows the user to add, update, and delete records from the form. The Delete action is...
1
by: KC | last post by:
Hello, I am using Access 2002. WinXP, Template from MS called Orders Mgmt DB. I have tweaked this DB to work for our small co. It has worked...
2
by: Jozef | last post by:
It's possible I might have found the problem of my previous post, but I'm really not sure. My XP Packaging wizard is adding COMCAT.DLL version...
46
by: DP | last post by:
hi, i've got a form, with a subform in it. i've got a delete button in the subform. the code i;ve got is; Private Sub cmdDeleteRecord_Click()...
1
by: effiw | last post by:
I'm working with an application that has an MS Access front end linked to the SQL Server DB backend. During a period of one week, 32 records of a...
5
by: Paul Rubin | last post by:
I've been through this kind of thing a few times in the past and received excellent advice here on clpy about how to deal with specific technical...
5
by: Neil | last post by:
I'm running Access 2000 with a SQL 7 back end, using ODBC linked tables in an MDB file. The db is used by about 30 users on a LAN, and an additional...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.