home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Access 97 subreports REALLY slow

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 1656
Discussions: 200,951, Posts: 2,379,468, Members: 246,313
Old June 20th, 2002, 12:44 PM   Digg it!   #1 (permalink)
Member
 
Join Date: Feb 2002
Location: Here,but not TOTALLY
Posts: 179
Send a message via AIM to Einsamherz
Exclamation
Access 97 subreports REALLY slow

I'm working on an Access 97 application.

The problem I'm having is that there is one report that takes >3 minutes to run (~30 pages and "HEAVY" calculations). The speed itself is not the major issue.

The problem is that this report is actually 3 subreports "glued" together on this report and it wants to RERUN the subreports before it prints the report!!

The reports run, and they print FAST (immediately) alone. I'd RATHER NOT do that though (it's all about the keeping it simple for the users... )

Any help on this topic would be appreciated.
Einsamherz is offline   Reply With Quote
Old June 21st, 2002, 10:10 AM     #2 (permalink)
Member
 
Join Date: Feb 2002
Location: Here,but not TOTALLY
Posts: 179
Send a message via AIM to Einsamherz
^ bump ^

Anyone ? ? ?
Einsamherz is offline   Reply With Quote
Old June 21st, 2002, 12:09 PM     #3 (permalink)
Not Really a Member
 
Join Date: Oct 2001
Posts: 25,386
have you ever thought about possibly using a module.. one to call the form with the given recordset and if they call for the report use that SAME recordset to call the report?
__________________
Helicopters don't fly; they vibrate so much and make so much noise that the earth rejects them.
vass0922 is online now   Reply With Quote
Old June 21st, 2002, 12:21 PM     #4 (permalink)
Member
 
Imanage's Avatar
 
Join Date: Oct 2001
Location: New York, New York
Posts: 258
Along the same idea, is there a way to restructure the query's for the main report or each of the subreports to use a single query or a single query written out to a temporary table. Then redo your report to use that one table or query. Use a macro or a module to run the make-table queries first and then the report.

Good luck.
Imanage is offline   Reply With Quote
Old June 21st, 2002, 12:28 PM     #5 (permalink)
Member
 
Join Date: Feb 2002
Location: Here,but not TOTALLY
Posts: 179
Send a message via AIM to Einsamherz
I've written modules for some other reports. (like 10min long reports...that one is usually between 1-12 months worth of data)

There are a number of SUM()s through the process.....I've been looking at ways to reduce the data that it goes through (like grouping past years' items, which is done for other info.)

I was more perplexed by it having to run again to print the report, when it's RIGHT IN FRONT OF YOU, NOW... ( just a little frustrated with M$... )

Thanks for your help!
Einsamherz is offline   Reply With Quote
Old June 23rd, 2002, 05:26 PM     #6 (permalink)
Not Really a Member
 
Join Date: Oct 2001
Posts: 25,386
ya I know what ya mean Eins.. rather frustrating that Access doesn't use the same recordset in the background
I imagine there's SOME reason coughexcusecough that they dont do that coughthatmakessensecough so its all for the benefit of the consumer
vass0922 is online now   Reply With Quote
Old June 23rd, 2002, 09:21 PM     #7 (permalink)
Member
 
Join Date: Feb 2002
Location: Here,but not TOTALLY
Posts: 179
Send a message via AIM to Einsamherz
After looking at it (and having a nice restful weekend)....I have a theory to check tomorrow.....(systems-gods willing)

I seem to remember there being 3 levels of sub-reports.....I know 2 works OK, so maybe I can just simplify it by taking one level off and try it again.

I really would like it to run faster for the users. (even though the system running the report most is faster than the PDC.....)


Thanks again for all your help.
Einsamherz is offline   Reply With Quote
Old June 24th, 2002, 12:26 AM     #8 (permalink)
Senior Member
 
Rhino's Avatar
 
Join Date: Oct 2001
Posts: 552
Are they calculatios which you can perform in the queries? I'm not sure if it would make it faster or not.
__________________
It's like that, and it's like this....
Rhino is offline   Reply With Quote
Old June 24th, 2002, 09:39 AM     #9 (permalink)
Member
 
Join Date: Feb 2002
Location: Here,but not TOTALLY
Posts: 179
Send a message via AIM to Einsamherz
The calculations _are_ done in queries. They are things like "Add up all the inventory totals for these parts."

Why can't Access have stored procedures instead? (Don't get me started on SQL server...it's installed, but dragging for some yet undiscovered reason.....I suspect data type problems, but can't be sure.)

Guess the users will just have to get adjusted to the 3 report screens.
Einsamherz is offline   Reply With Quote
Old June 25th, 2002, 12:15 AM     #10 (permalink)
Senior Member
 
Rhino's Avatar
 
Join Date: Oct 2001
Posts: 552
What if you first made made a form, performed the calculations in code, and then made the report from the form?
Rhino is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
The disrespect of Obama by Russian .. (39)
Is It Just Me? (2942)
Making Health Care Worse (178)
Wireless Televisions. (12)
CPU fan stops spinning randomly (8)
windows 7 problem (7)
Regular Build (11)
radeon x850xt platinum & shader.. (6)
Is the PSU I received dead? (12)
Print spooler problem (15)
windows vista security holes (10)
HIS HD5770 graphic card question (15)
Install XP pro and a Vista laptop ?.. (11)
Dept. of HS: NSA 'Helped' Develop V.. (16)
Recent Discussions
Regular Build (11)
Help with onclick and buttons (0)
Modern Warfare 2: Who Bought It? (63)
Virus advise (8)
My monitor won't turn on after instal.. (1)
Laptop with wireless problem. (3)
Internet Lost (3)
Dept. of HS: NSA 'Helped' Develop Vis.. (16)
EVGA 9800 gtx help with finding a goo.. (10)
windows vista security holes (10)
Point and Shoot Camera Suggestions. (4)
Multiple Restarts Required at Boot (2)
Ideal cheap graph card for PC-Gaming? (18)
radeon x850xt platinum & shader 3 (6)
Graphics Card Upgrade Question (4)
For Sale BFG GTX285 OC2 with 10 year .. (3)
How to convert MP3's (4)
Wireless Televisions. (12)
Hp Artist Edition + Matching Bag (0)
Asus P4G8X Mobo (6)
Xbox 360 GTA: SA disk error (1)
Is the PSU I received dead? (12)
windows 7 internet problem (5)
BSOD On Startup (ntoskrnl.exe) (2)
Print spooler problem (15)


All times are GMT -4. The time now is 01:25 AM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28