Re: Multiple table select query remove duplicates
- From: "[MVP] S.Clark" <steve.clark_NOSPAM@xxxxxxxxxx>
- Date: Fri, 28 Apr 2006 19:04:24 -0400
You can use the HideDuplicates property in a report. But nothing in a
query.
--
Steve Clark, Access MVP
FMS, Inc
http://www.fmsinc.com/consulting
Professional Access Database Repair
*FREE* Access Tips: http://www.fmsinc.com/free/tips.html
"Steve Perrins" <support@xxxxxxxxxxxxxxxxxxx> wrote in message
news:%23MaaKZuaGHA.3376@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
I have two tables exp_recs and inc_recs both with the following fields :-
ID - Primary key
ac_gross
ac_date
ac_PROJID
exp_recs has the following records
1 50.20
2 64.67
3 99.33
inc_recs has the following records
1 60.50
2 99.00
I run the following query:-
SELECT exp_recs.ac_gross AS exp_gross, inc_recs.ac_gross AS inc_gross FROM
exp_recs, inc_recs
And the following is produced
ac_gross inc_gross
50.20 60.50
50.20 99.00
64.67 60.50
64.67 99.00
99.33 60.50
99.33 99.00
How would I code my query to produce the following
ac_date ac_gross inc_gross
01/01/2006 50.20
02/01/2006 60.50
08/01/2006 64.67
10/01/2006 99.00
20/01/2006 99.33
Thanks in advance
Steve.
.
- Follow-Ups:
- Re: Multiple table select query remove duplicates
- From: Steve Perrins
- Re: Multiple table select query remove duplicates
- References:
- Multiple table select query remove duplicates
- From: Steve Perrins
- Multiple table select query remove duplicates
- Prev by Date: Re: Vaccine query additonal information
- Next by Date: Re: Access should have design view for nested queries
- Previous by thread: Multiple table select query remove duplicates
- Next by thread: Re: Multiple table select query remove duplicates
- Index(es):
Relevant Pages
|
|