printing daily report

J

John Vinson

What criteria do I need to enter in order to print todays
results?

thanks,

Ted

That depends on how your table records what are "today's results". Do
you have a date/time field in the table? How is it filled?

GUESSING that you do, and that it has a default property of Date(),
just use a criterion of

=Date()

If the default is Now(), giving the exact date and time, use a
criterion of

If the table might have data from the future as well, use a criterion
of
=Date() AND < DateAdd("d", 1, Date())

If you don't have such a field, you can't do it at all; Access doesn't
know or care when the record was created.
 
B

Bruce Loving

depends on how you define "Todays"
same numeric day?
last 24 hours?
since midnight?
look at
like
datediff
datepart
 

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