Access ?

sdc1234

Board Regular
Joined
Mar 17, 2011
Messages
122
I want a search query that where I enter 2 differt dates then all those people within those dates appear on a report.. example: bill, bob, bruce, buckey were gone on vacation from 9/1/11-9/55/12 I want to be able to pop in those dates and have those names pop on a report for me....... any help would be appreciated....


thank you
 

Some videos you may like

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

alansidman

Well-known Member
Joined
Feb 26, 2007
Messages
6,056
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
In the criteria for your date field try using the Between function

ie. Between #9/1/11# and #9/5/12#
Dates need to be wrapped in hash marks.
 

Pretty1996

Board Regular
Joined
Apr 28, 2010
Messages
100
Additionally, I've used this before Between [Date1] And [Date2]

This gives a little pop up which asks the user to enter the date range manually so it's different each time.

Hope that helps,
 

Watch MrExcel Video

Forum statistics

Threads
1,122,190
Messages
5,594,761
Members
413,931
Latest member
acrato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top