Stemdriller
Registered User.
- Local time
- Today, 23:14
- Joined
- May 29, 2008
- Messages
- 187
The following is an exert from a query in Access
Poor: DCount("Ratings","tblRatings","Ratings = 1 and Reason =2 and Dept = 3 and Category =1")
I am trying to make it a generic Query so when the query is run it will ask the user What Reason and What Dept and What Category? Pretty much like [ ] in the criteria of a query.
Tried changing it to
Poor: DCount("Ratings","tblRatings","Ratings= 2" And [Reason] And [Dept] And [Category])
But doesn't work
Thanks
Poor: DCount("Ratings","tblRatings","Ratings = 1 and Reason =2 and Dept = 3 and Category =1")
I am trying to make it a generic Query so when the query is run it will ask the user What Reason and What Dept and What Category? Pretty much like [ ] in the criteria of a query.
Tried changing it to
Poor: DCount("Ratings","tblRatings","Ratings= 2" And [Reason] And [Dept] And [Category])
But doesn't work
Thanks
Last edited: