Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Microsoft Access > Re: Daily count...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 9 of 9 Topic 30235 of 30910
Post > Topic >>

Re: Daily counts

by "rquintal@[EMAIL PROTECTED] " <bob.quintal@[EMAIL PROTECTED] > May 14, 2008 at 09:49 AM

On May 12, 12:24=A0pm, "Ed Robichaud" <edrobich...@[EMAIL PROTECTED]
> wrote:
> I'm struggling to come up with a query/re****t of daily attendance for
> records that have only start and stop dates. =A0A x-tab (with parameters
t=
hat
> records be within a selected date range) =A0 would seem to be the way to
g=
o
> here, but how do I get a count for each date within that range?
>
> thanks -Ed

Create a calculated field in the query that determines if the date
falls between the start and stop dates, returning the number 1 if
true, and 0 if false, then sum those numbers.

isPresent: IIF([Enter Date]>=3D[Start] AND [Enter Date]<=3D[stop],1,0)

Q
 




 9 Posts in Topic:
Daily counts
"Ed Robichaud"   2008-05-12 12:24:44 
Re: Daily counts
Pachydermitis <praesag  2008-05-12 10:00:02 
Re: Daily counts
"Ed Robichaud"   2008-05-12 13:26:07 
Re: Daily counts
Salad <oil@[EMAIL PROT  2008-05-12 11:10:43 
Re: Daily counts
"Ed Robichaud"   2008-05-13 00:09:02 
Re: Daily counts
"Fred Zuckerman"  2008-05-12 21:50:55 
Re: Daily counts
Salad <oil@[EMAIL PROT  2008-05-12 21:54:54 
Re: Daily counts
"Ed Robichaud"   2008-05-19 10:37:37 
Re: Daily counts
"rquintal@[EMAIL PRO  2008-05-14 09:49:36 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Aug 21 20:56:20 CDT 2008.