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 | Calendar | 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 August 4th, 2006, 09:11 AM
Authorized User
 
Join Date: Jul 2006
Location: , , .
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error in Counting

Hey everyone,

Im having a problem getting access to count the correct number of records when i run a report. The problem is that i have a subform within a main form , which records payments made to a claim account, and instead of counting the 1 record from the main form it counts the many (20 in some cases) records in the subform. i am totally stumped on this one, any help is appreciated.

PS report looks fine, with correct number of records, but when i use the count function it gives me the number of payments, not number of claims

Reply With Quote
  #2 (permalink)  
Old August 15th, 2006, 12:16 AM
Friend of Wrox
 
Join Date: Jul 2005
Location: Oklahoma City, OK, USA.
Posts: 150
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Whow are you using count?

In a report, count is the number of detail records. within the group or whole report depending on how you use it.

It sounds like you are wanting a count of the number of groups. Is this corre3ct?

Boyd
"Hi Tech Coach"
Access Based Accounting/Business Solutions developer.
http://www.officeprogramming.com
Reply With Quote
  #3 (permalink)  
Old August 15th, 2006, 12:21 AM
Friend of Wrox
 
Join Date: Jul 2005
Location: Oklahoma City, OK, USA.
Posts: 150
Thanks: 0
Thanked 0 Times in 0 Posts
Default

check out:
http://www.mvps.org/access/reports/rpt0016.htm

Boyd
"Hi Tech Coach"
Access Based Accounting/Business Solutions developer.
http://www.officeprogramming.com
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
Counting Dates Odifius Access VBA 2 September 26th, 2006 02:22 PM
Counting records Jonas Access 4 August 4th, 2006 09:07 AM
record counting keyvanjan Classic ASP Databases 0 June 30th, 2005 01:20 AM
charachter counting bjackman Access 12 March 11th, 2005 04:51 AM
Counting ?!? hcweb Classic ASP Basics 2 December 8th, 2003 05:08 PM



All times are GMT -4. The time now is 02:46 AM.


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