In Access, what expression would pull up previous day's record?

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

Guest

We're creating an accounting system for Access, I can't seem to figure out
what expression I would use to pull up the previous day's total. Thanks
 
Use Date()-1 as criteria.

Bear in mind that if your DateTime field has a time component then you need
a different query setup.

You would need to add a output column like --
SubDate: CVDate(Int([YourDateField]))

This removes the time component from YourDateField
 
Make a parameter query that shows all records except those that are not on
yesterdays date. The parameter would be Between "date" And "date".

Tom
 

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

Similar Threads

Sony Bluetooth Headphones 10
Why was I just banned for no reason? 2
Access Query problem 1
Windows 10 W10 password prob. 2
Access #Error & Excel Pivot 0
Split into 2 tables? 2
Expression to count hours for present day 6
Tables 1

Back
Top