Results 1 to 2 of 2
  1. #1
    batowl is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Dec 2010
    Posts
    86

    Start & End Date Query

    I have a very simple database comprised of one table. There is an event date field within the database that my end users want to query on. They would like to be able to specify a beginning date and an end date and pull up all records that have an event date between these two values.



    I realize it is quite easy to do that in a query, but I need the interface for this query to be very simple and easy (the users do not want to be in design view of the query typing in dates). So is there a way to build a query so that the users specify their date range for the query on a form by typing a beginning date in one field and an end date in another field? Thanks.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Yes of course, that's the most common setup. Generally the form would have the two textboxes plus a button to open the form/report the query is being used for. The query criteria would look like:

    Between Forms!FormName.FirstTextbox And Forms!FormName.SecondTextbox
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 02-06-2011, 04:32 PM
  2. Query on start up / load
    By KEVWB in forum Access
    Replies: 11
    Last Post: 01-31-2011, 04:42 PM
  3. Replies: 11
    Last Post: 08-04-2010, 04:26 PM
  4. Replies: 1
    Last Post: 07-07-2010, 04:22 PM
  5. Replies: 1
    Last Post: 12-09-2005, 10:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums