Advertisement

05.08.2008 at 12:17PM PDT, ID: 23387316
[x]
Attachment Details

Date Range Combo Box in Unbound Form

Asked by Ludique in Microsoft Access Database, Access Forms

Tags: VBA

I have an unbound form that I use to select records.  The date field(s) are comboboxes and you can select a DateRange and it calculates which records to return

I've got these working so far

DateRange       DateRangeCalc
Today               Date()
This Month       Between DateSerial(Year(Now()), Month(Now()), 1) And DateSerial(Year(Now()), Month(Now()) + 1, 0)
Last Month      Between DateSerial(Year(Now()), Month(Now()) - 1, 1) And DateSerial(Year(Now()), Month(Now()), 0)
Next Month      Between DateSerial(Year(Now()), Month(Now()) + 1, 1) And DateSerial(Year(Now()), Month(Now()) + 2, 0)

' Thanks to matthewspatrick Date:09.14.2006 ID:17516636 for those month ones

How do I do this/last/next  Year or Week or Quarter?
The next 90 days?
Is it possible to let the user enter a date/daterange themselves in the same box eg.
between 01/01/2008 and 04/05/2008 or do I need a separate box?
Start Free Trial
 
Loading Advertisement...
 
[+][-]05.08.2008 at 01:53PM PDT, ID: 21528372

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.08.2008 at 02:13PM PDT, ID: 21528518

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.08.2008 at 02:37PM PDT, ID: 21528694

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.08.2008 at 02:45PM PDT, ID: 21528737

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.08.2008 at 03:40PM PDT, ID: 21529065

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.14.2008 at 05:54PM PDT, ID: 21569867

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.14.2008 at 06:10PM PDT, ID: 21569947

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.15.2008 at 09:49AM PDT, ID: 21575690

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Access Database, Access Forms
Tags: VBA
Sign Up Now!
Solution Provided By: GRayL
Participating Experts: 1
Solution Grade: A
 
 
[+][-]05.29.2008 at 11:03AM PDT, ID: 21671668

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628