NOWfunction question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Background: I have a db at work where the operators of a machine enter the
Date as one of the fields. Problem somepeople can't remember the correct
date, so when I run a report for that date I get garbage.
Here is my problem: I want to have the date auto populate, which is no
problem; but this db is for 2nd shift, so if the operator enters data after
midnight, the numbers for that assembly run will go on the next day's report.
I thought about having the Date field populate with something like =Now
-Hour(3) so the time would be always be 3 hours earlier, but that doesn't
seem to work.
Is this making sense?
Any suggestions are appreciated.
 
Thanks, that did work. But now my queries, which filter by [Date?] won't work.
 
ED, if you're using an expression like
now() - .125
in a query criterium, do it like this:
now() - (.125)

UpRider

Ed said:
Thanks, that did work. But now my queries, which filter by [Date?] won't
work.

UpRider said:
Ed, 3 hours is 1/8 of a day.
Now - .125
will work fine.

UpRider
 

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