Query...

1

116

I am looking for a count of items meeting certain criteria. I am using this
< Between DLookUp("[Date]","t_Heat_Treat_Oven_Log","[PC]='THERM'") And Date()
to retrieve the data, but have been unable to get a count. I had to put
the above in a sub query, and create one just for the count. Is there a way
to do this in one query?

Thanks
David
 
T

Tom Willett

If this is an Excel question, you need to post in an Excel newsgroup, not
Frontpage.
--
Tom [Pepper] Willett
Microsoft MVP - FrontPage Since 1997
---------------------------
:I am looking for a count of items meeting certain criteria. I am using
this
: < Between DLookUp("[Date]","t_Heat_Treat_Oven_Log","[PC]='THERM'") And
Date()
: > to retrieve the data, but have been unable to get a count. I had to put
: the above in a sub query, and create one just for the count. Is there a
way
: to do this in one query?
:
: Thanks
: David
 
1

116

Sorry all. I posted to the wrong group.

David

116 said:
I am looking for a count of items meeting certain criteria. I am using this
< Between DLookUp("[Date]","t_Heat_Treat_Oven_Log","[PC]='THERM'") And Date()
to retrieve the data, but have been unable to get a count. I had to put
the above in a sub query, and create one just for the count. Is there a way
to do this in one query?

Thanks
David
 

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

Top