-
Access DCount
I'm trying to the number of records that are from the same month in an Access report. The query pulls data from two tables, and uses the month funtion to identify which month the record was added. Can I set up the report so when the user enteres 6, the report counts the number of responses from June only? I can only get this to work with the 6 hard coded into the formula:
=DCount("[MonthCompleted]","Master Data Export","[MonthCompleted] ='6'")
I have used the brackets in the past to ask [What month?], but when I add this where the 6 is I either get an error or 0.
Anyone know how I can get this to work?
Thanks for your help!
Similar Threads
-
By Sunil Menon in forum Web
Replies: 1
Last Post: 07-26-2002, 09:00 PM
-
By Ray Clough in forum Database
Replies: 7
Last Post: 09-06-2001, 02:27 PM
-
By Nathan in forum Enterprise
Replies: 0
Last Post: 09-06-2001, 06:18 AM
-
By David Jones in forum Database
Replies: 5
Last Post: 09-02-2001, 03:17 AM
-
By Todd B - Agendum Software in forum vb.announcements
Replies: 0
Last Post: 12-20-2000, 12:22 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks