•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the MS Access and FileMaker Pro section within the Web Development category of DaniWeb, a massive community of 391,563 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,676 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MS Access and FileMaker Pro advertiser:
Views: 1420 | Replies: 2
![]() |
•
•
Join Date: Jul 2007
Posts: 13
Reputation:
Rep Power: 2
Solved Threads: 0
Set rstDeps = CurrentDb.OpenRecordset("SELECT Members.OrgID, Members.ID, Members.Member, Members.PrimaryRep, Members.MembershipType " _
& "FROM Members " _
& "WHERE (Members.Member=True AND Members.OrgID=" & !OrgID & " AND Members.MembershipType='" & !MembershipType & "');")This is my query in VBA in MSAccess. I just want the number of people that fall into those criteria and it SHOULD be 4. But this consistently pulls 6 records. If I run this same query in a normal query it pulls 4.
The 6 records include 2 Members.Member=False. Why would it pull them as well? I'm fed up with this and don't understand why this does not work.
Last edited by tashakota : Aug 21st, 2007 at 11:00 am.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb MS Access and FileMaker Pro Marketplace
- test mysql query for no results (PHP)
- Clean Previous Next Script for MySQL results (PHP)
- sql query problem with MS Access and C# (C#)
- FILTER QUERY results on a FORM? (Visual Basic 4 / 5 / 6)
- Searches only returning results for certain strings (PHP)
- MySql multiple table query problem.... (MySQL)
- Querying within the results of a previous query? (MySQL)
Other Threads in the MS Access and FileMaker Pro Forum
- Previous Thread: How to include multiple tables in FM format
- Next Thread: MS Access parameter querry criteria Help?


Linear Mode