A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Eliminate duplicate values from details table



 
 
Thread Tools Display Modes
  #1  
Old October 4th, 2006, 09:16 PM posted to microsoft.public.access.queries
Randy
external usenet poster
 
Posts: 4
Default Eliminate duplicate values from details table

Access 2000. I have a main table and a details table, The main table is for
employee Id, Date, District Id, and expenses. etc. The details table list
the details of the employees day, including: Fees, Customer, Hours, Miles.
(One record per customer). An employee may have 1 to 6 records in the
details table per day. I have created a query to give me the following
results grouped by date. Employee id, customer, fees, miles, expenses. The
problem is that expenses are duplicated by the number of records in the
details table. If the expenses are $48.00 for a particular day and there
are 3 records in the detals table, I get $48.00 3 times. How do I get a
result of $48.00 only once for a single date?


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:42 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.