Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA 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 January 31st, 2008, 09:07 AM
Authorized User
 
Join Date: Sep 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default One Record Printing TWICE on Report.

I have a report in an Access ASP that runs a report. This report has run for some time and has the following problem:

The Report displays one record TWICE. When I run the stored procedure on the MS SQL back end, that particular record shows only once...
If the record showed twice in the SP execution... I could eventually figure it out... but this?

There are no footings or totalling sections.
Any ideas would be greatly appreciated.

Paul

Paul
__________________
Paul
 
Old February 1st, 2008, 12:07 AM
Friend of Wrox
 
Join Date: Oct 2007
Posts: 130
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via AIM to urtrivedi
Default

Post you asp code

urt
 
Old February 1st, 2008, 12:11 AM
Friend of Wrox
 
Join Date: Oct 2007
Posts: 130
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via AIM to urtrivedi
Default

Post your asp code

urt
 
Old February 1st, 2008, 09:24 AM
Authorized User
 
Join Date: Sep 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry... my fault. I meant an Access project. An ADP file.

Paul
 
Old February 15th, 2008, 09:33 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG
Default

It could be that the query behind the report is not set to give you distinct records. Check your SQL and make sure that it starts with SELECT DISTINCT; or if it's a query, make sure you set the query properties to "Unique Records: Yes".

Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division





Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing report Vince_421 Access VBA 0 May 2nd, 2007 05:39 AM
Printing Report rfarmer VB How-To 1 September 27th, 2006 06:39 AM
crystal reports--printing one record form dalem Crystal Reports 0 August 7th, 2005 10:20 PM
printing report Tasha Access VBA 0 August 25th, 2004 08:22 PM
Error While printing report (Crystal report) vikaspaweb Pro VB 6 0 March 8th, 2004 09:53 AM





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