Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
Home > Courses > Access > Expert > X03 > < X02 | X04 >
Back to Access Expert 3    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Using COUNT
Joan Young 
    
2 years ago
I would like to get the record count from another table to display on a form. With =Count(PhotoTBL.PhotoID) it at least doesn't refuse the syntax, but it displays as #error. I have tried it with the primary key (ID) and with a different field. Can I do this?
Kevin Robertson  @Reply  
          
2 years ago
Use DCount.
Joan Young OP  @Reply  
    
2 years ago
I got this syntax from an example, but it isn't working. It accepts the syntax, but doesn't display either an error or a value. DCount("PhotoID", "PhotoTBL")
Kevin Robertson  @Reply  
          
2 years ago
Are you entering the function in the Control Source of the Text Box?
Try this to count all the records in the table:
=DCount("*", "PhotoTBL")
Joan Young OP  @Reply  
    
2 years ago
Yes, putting in control source. That did it! These courses are the best! 18 years ago, I really knew what I was doing with Access, but I've forgotten SO much. Thank you.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Expert 3.
 

Next Unseen

 
 
 

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

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2025 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 12/9/2025 11:59:27 PM. PLT: 1s