Re: Duplicate entries
- From: "John Spencer" <spencer@xxxxxxxxx>
- Date: Thu, 24 Aug 2006 07:55:31 -0400
Ok, a step at a time.
Do you have a Clients table and an Invoices Table? What other tables do you
have that are relevant to the problem (Invoice Items table)?
Assuming you have a clients table, is the client in there more than once.
If so, that is part of the problem, the client should be unique in the
clients table.
The minimal structure I would expect to see would be
Clients Table
ClientID
ClientName
ClientAddress
.... other things you need to know about the client
Invoice Table
InvoiceID
ClientID (so you can link to the Clients Table)
InvoiceDate
.... Other things specific to the overall invoice
InvoiceItems Table
LineID
InvoiceID (so you can link to the InvoiceTable)
ItemID
CostAtSale
NumItems
.... Other things you need to know about the line item
Items Table
ItemID
ItemDescription
CurrentCost
The sample Northwind database is a fairly good example of this set up. It
is more complete than the above structure, but you should be able to use it
as a guide to setting up a system.
"Cathryn H" <CathrynH@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:65AB9412-3656-48DD-872B-CC990A438995@xxxxxxxxxxxxxxxx
Everything is duplicated. It is supposed to be a simple invoicing system
but
having input three pieces of work to be invoiced, invoices 1 and 3 whcih
happen to be for the same client are duplicated and it is showing 5
records.
The query feeds to a form which is printed to issue to the client for
payment
and this also has five entries (two each of invoice 1 and 3).
I am sure it is in the way I have set it up, but I can't see what it is
that
I havedone wrone!
"John Spencer" wrote:
Do you mean there are duplcate records in the table(s) or do you mean
that
you are seeing multiples in a query or in a form based on the query?
"Cathryn H" <Cathryn H@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9BBB4AFE-6708-4F76-B722-FD6F3F444D3F@xxxxxxxxxxxxxxxx
I have a relatively simple invoice database set up. I only have three
invoices in it so far so my problem isn't yet huge! However, since I
added
the third one, I have developed duplicate duplicate entries.
Interestingly,
this is only for one client. This client has two invoices, both of
which
are
now showing twice. I have tried unsuccessfully to find help on this in
the
Office Assistant and feel sure there is a simple answer - can anyone
suggest
what I have done wrong?
.
- References:
- Re: Duplicate entries
- From: John Spencer
- Re: Duplicate entries
- Prev by Date: Re: Total SUM in crosstab query
- Next by Date: RE: trying to link tables in query, only works for 1st record
- Previous by thread: Re: Duplicate entries
- Next by thread: Re: Query Access 2007 "Disbled Mode"
- Index(es):
Relevant Pages
|