Free Lessons
Fast Tips
Topic Index
Home   Courses   Seminars   Templates   TechHelp   Forums   Help   Contact   Join   Order   Logon  
Home > TechHelp > Directory > Access > DCount < Buy Access | Center Vertically >
By Richard Rost   Richard Rost on Twitter Richard Rost on LinkedIn Email Richard Rost   2 years ago

Count Records in a Table or Query with Criteria

 S  M  L  XL  FS  |  Slo  Reg  Fast  2x  |  Bookmark Join Now

In this video, I will show you how to count up values from a table or query. We will count up the total number of orders that a customer has and display them on the customer form.

Roberto from Silver City, New Mexico (a Gold Member) asks: I'd like to be able to quickly see the total number of orders that a customer has when I open up their record in the customer form. Right now, I have to open up the order form and look at the number on the bottom. This would save me a lot of time.


Members will see how to use DCount to limit the number of records in a related table (such as in a subform). This would be handy to, for example, set a maximum number of students per class, or a minimum number of items per order. We'll also see how to refresh a parent form when a child form is closed, and put that order count in the button caption. We'll also discuss why you should not use D-functions in queries (use aggregate queries instead).

Silver Members and up get access to view Extended Cut videos, when available. Gold Members can download the database template from class plus get access to the Code Vault. If you signed up on YouTube you have to register on my YouTube Find User page so I can set up your account here on my web site. If you're not a member, Join Today!


Learn More

FREE Access Beginner Level 1
FREE Access Quick Start in 30 Minutes
Access Level 2 for just $1

Free Templates

TechHelp Free Templates
Blank Template
Contact Management
Order Entry & Invoicing
More Access Templates


Mailing List - Get emails when new videos released
Consulting - Need help with your database
Tip Jar - Your tips are graciously accepted


Please feel free to post your questions or comments below or post them in the Forums.


microsoft access, ms access, #msaccess, #microsoftaccess, #help, #howto, #tutorial, #instruction, #learn, #lesson, #training, #database, dcount, count records, order count, total number of records, limit number of items, maximum, refresh parent form, button caption, aggregate query


Comments for DCount
Age Subject From
3 monthsDCount All Yes or all NosGail Akinnusotu
4 monthsMultipleCriteria Type MismatchChris Pardy
10 monthsDCountGreg Rosoff
2 yearsVideo FreezingBrent Rinehart


Start a NEW Conversation
Only students may post on this page. Click here for more information on how you can set up an account. If you are a student, please Log On first. Non-students may only post in the Visitor Forum.
Subscribe to DCount
Get notifications when this page is updated

Check out these other pages that may be of interest to you:

5/26/2023Hide With Macro
5/25/2023Calculator 6
5/24/2023Object Size Analyzer
5/24/2023Calculator 5
5/22/2023Calculator 4
5/19/2023Calculator 3
5/18/2023Calculator 2
5/16/2023Variable Default

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.

Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
My Account
My Courses
Lost Password
Student Databases
Change Email
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Customer Support
Web Site Tour
Consulting Services
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    Twitter

YouTube Channel    LinkedIn
Copyright 2023 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/28/2023 4:38:25 PM.
Keywords: TechHelp Access dcount, count records, order count, total number of records, limit number of items, maximum, refresh parent form, button caption, aggregate query  PermaLink  DCount in Microsoft Access