Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 17th, 2005, 09:20 AM
Registered User
 
Join Date: Mar 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with Access 200 Report

I do a report in ACCESS 2000. In the footer of the report I have 3 fields and the number that appears in each one is calculated in the code of the report. When I preview the report all the numbers are correct, but when I print the reports all the numbers in those fields are doubled. I have put the code in both Format and Print, but still the same problem. I would appreciate any hints to solve the problem.
Rgds


 
Old July 30th, 2005, 01:49 AM
Friend of Wrox
 
Join Date: Jul 2005
Posts: 150
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Does it print correctly if you do not preview the report first but just print?

If you preview the report, and everything is correct, then you print from the preview and the values double. This is normally caused by using variables that are not initialed back to 0 when the report starts. When you print from a preview, the report is actually run again so all the code runs twice.

Boyd
Access Based Accounting/Business Solutions developer.
 
Old July 30th, 2005, 02:53 PM
Authorized User
 
Join Date: Jun 2004
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i know this may sound simple, but make sure you have the latest service pack for your version of OFFICE.

"Life is a Database"
 
Old July 31st, 2005, 12:37 AM
Friend of Wrox
 
Join Date: Jul 2005
Posts: 150
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I agree sdilucca. With Access 2000 you have at least SP3, and JET SP8. If you do not have at least SR1 and Jet SP5, Access 2000 is very unstable.

Boyd
Access Based Accounting/Business Solutions developer.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating an Access 200 db Gandalf_the_Grey Classic ASP Basics 3 June 27th, 2006 07:09 AM
Connect Seagate Crystal Report with SQL Server 200 abypvarghese SQL Server 2005 6 June 23rd, 2006 03:10 AM
Problem with AGGREGATE FUNCTIONS in SQL SERVER 200 vikiboye SQL Server 2005 1 February 20th, 2006 12:07 PM
problem 2 connecting SQL Server 200 using ASP.NET nagen111 ADO.NET 5 February 16th, 2005 01:26 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.