Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4565546
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T18:39:32+00:00 2026-05-21T18:39:32+00:00

I have an Invoices table with a Date/Time field. I want to write a

  • 0

I have an Invoices table with a Date/Time field. I want to write a query that returns all invoices for a certain day.

The problem I’m having is that when I filter the query by a particular date (such as 04/30/2011), no records are being returned. My suspicion is that Access is trying to return records that are an EXACT MATCH of 04/30/2011.

What I want is a query that returns all invoices that occur ON 04/30/2011 regardless of what time they occur. Basically, I want Access to care about the day but not the time.

Is there any documentation on how to do this? I sure can’t find any. I’m using Access 2010. Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T18:39:32+00:00Added an answer on May 21, 2026 at 6:39 pm

    It is about the datatype, I assume your date is stored in a datetime field. This will store the time as well and if no time is specified will default to midnight. I ususally use the BETWEEN function to do this:

    SELECT *
    FROM table
    WHERE datefield BETWEEN '2011-04-30' AND '2011-05-01'
    

    Because both dates will be at midnight, you will get the results from April 30.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a query that will check a table for a voided invoice, and
I have a linq query which presents data that is present in CustomersRecord Table
I have a somewhat complex SQL query that is pulling from a table of
I have a table that looks like this: http://jsfiddle.net/8SEz2/4/ Branch StSeq# Inv# Invoice Date
I have a html table like this: Invoice# Due Date Balance Select 12345 12/25/2011
I have a table called invoices with 3 fields (for the purposes of this
I have an customer invoice table in my MySQL database with a DECIMAL(10,2) field
In my controller I have: @invoices = current_user.account.clients.map(&:invoices).flatten and in my index.html.erb I want
I have an app that generates invoices in the form of PDF files stored
Hello everyone i want search data from invoices and client by today date I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.