Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

date search

Status
Not open for further replies.

balllian

MIS
Jan 26, 2005
150
GB
Im interrogating a range of dates in April (first two weeks) but when i put the date range in i dont pick up dates which potentially start before april and finish after the two weeks, What is the best way to pick up these instances.

BTW my start date and end date are in two columns. Any assistance on this matter would be greatly appreciated.

Thanks
 
erm, increase your date range to include the potential start dates...?

--------------------
Procrastinate Now!
 
Use a criteria like:
Code:
WHERE [StartDate}<=Forms!frmDates!txtEndDate and [EndDate]>=Forms!frmDates!txtStartDate

Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top