Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 31st, 2008, 09:07 AM
Authorized User
 
Join Date: Sep 2006
Location: , IN, USA.
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
Reply With Quote
  #2 (permalink)  
Old February 1st, 2008, 12:07 AM
Friend of Wrox
 
Join Date: Oct 2007
Location: , , .
Posts: 130
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via AIM to urtrivedi
Default

Post you asp code

urt
Reply With Quote
  #3 (permalink)  
Old February 1st, 2008, 12:11 AM
Friend of Wrox
 
Join Date: Oct 2007
Location: , , .
Posts: 130
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via AIM to urtrivedi
Default

Post your asp code

urt
Reply With Quote
  #4 (permalink)  
Old February 1st, 2008, 09:24 AM
Authorized User
 
Join Date: Sep 2006
Location: , IN, USA.
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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

Paul
Reply With Quote
  #5 (permalink)  
Old February 15th, 2008, 09:33 AM
Friend of Wrox
Points: 4,007, Level: 26
Points: 4,007, Level: 26 Points: 4,007, Level: 26 Points: 4,007, Level: 26
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Lansing, Michigan, USA.
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 01:49 AM.


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