Advertisement

05.30.2008 at 12:36PM PDT, ID: 23445790
[x]
Attachment Details

Query using OR Logic With Two Fields in MS Access

Asked by dyoung520 in Access Architecture/Design, SQL Query Syntax, Access Reports

Tags: Microsoft, MS Access, 2000

For a report I'm trying to generate I need to pull records based on criteria two fields.

Example:

A Date field for a birthday.
A Date field for an anniversary.

I want all birthday and/or anniversary date records within a given criteria (e.g. 1/1/08  - 5/30/08).

I have used 'between' and 'And' on one field before.  But If I do that to both fields, then I 'm only grabbing records that match for both fields.  This is just an example.

Thanks
Start Free Trial
[+][-]05.30.2008 at 01:39PM PDT, ID: 21681259

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: Access Architecture/Design, SQL Query Syntax, Access Reports
Tags: Microsoft, MS Access, 2000
Sign Up Now!
Solution Provided By: eghtebas
Participating Experts: 3
Solution Grade: A
 
 
[+][-]05.30.2008 at 01:42PM PDT, ID: 21681279

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.30.2008 at 01:44PM PDT, ID: 21681294

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.30.2008 at 02:42PM PDT, ID: 21681620

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.30.2008 at 08:51PM PDT, ID: 21682666

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.30.2008 at 10:05PM PDT, ID: 21682764

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.31.2008 at 12:28AM PDT, ID: 21682997

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