Counting records with in a range of a feild

  • Thread starter Thread starter breeden.christopher
  • Start date Start date
B

breeden.christopher

I'm having problems trying to automate the count of records that have
a date in a feild that lies between the range of txtStartDate and
txtEndDate. Any tips or suggestions?
 
Try this ---
SELECT Count(MonthlyKeylock.KeyDate) AS CountOfKeyDate
FROM MonthlyKeylock
WHERE (((MonthlyKeylock.KeyDate) Between #4/1/2007# And #5/10/2007#));
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top