S
SLEJ
I've searched the discussion group and I haven't been able to come across an
answer to my query problem. Here's the situation:
1. Select query as the basis for a report
2. in the query, I need three conditions to be met: a) PROGRAM equals a
particular program name, for example, "SouthEast Alliance"; b) STATUS =
"Active"; c)CLOSED DATE between a range to be specified by user
3. for the PROGRAM field, I have coded (for this example) the criteria =
"SouthEast Alliance"; the STATUS criteria I have = "Active"
Basically, I need the query to first select ALL records where PROGRAM =
"SouthEast Alliance" then from that group, select all Active records and
those CLOSED records between the user specified date range. The way I have
the query setup doesn't do what I need because it's reading Program AND
Status OR Closed Date so I end up with all active SouthEast Alliance clients
PLUS all of the closed clients from every other program!
Any suggestions on a way to design the query to do what I need? Thank you
for your time.
- Sharon
answer to my query problem. Here's the situation:
1. Select query as the basis for a report
2. in the query, I need three conditions to be met: a) PROGRAM equals a
particular program name, for example, "SouthEast Alliance"; b) STATUS =
"Active"; c)CLOSED DATE between a range to be specified by user
3. for the PROGRAM field, I have coded (for this example) the criteria =
"SouthEast Alliance"; the STATUS criteria I have = "Active"
Basically, I need the query to first select ALL records where PROGRAM =
"SouthEast Alliance" then from that group, select all Active records and
those CLOSED records between the user specified date range. The way I have
the query setup doesn't do what I need because it's reading Program AND
Status OR Closed Date so I end up with all active SouthEast Alliance clients
PLUS all of the closed clients from every other program!
Any suggestions on a way to design the query to do what I need? Thank you
for your time.
- Sharon