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 » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Eliminating Duplicate Records in a Form or Query



 
 
Thread Tools Display Modes
  #1  
Old May 11th, 2004, 10:32 PM
RJL
external usenet poster
 
Posts: n/a
Default Eliminating Duplicate Records in a Form or Query

I have a table for all of the Events I have to work and what equipment
I need at them. I then have a subevent table if there are multiple
shows at the same location during the same trip. I am then running a
report to determine all of the events that need a specific piece of
equipment. The problem I am having is that my report is returning the
event AND the subevents for a given date and listing each one as
needing that special piece of equipment. So say I have an event in
Charlotte that needs a specific piece of equipment on June 11th. I
also have two more events in Charlotte on the 12th and 13th that also
need that same piece of equipment. So the Event Table would have an
event with an "ID" 0f 315 (autonumbered), a "Name" of RJL Conference,
a "Date" of June 13th and "Equipment" of VX3200. Then in the Subevent
Table there would be a record with "Name" Truck Show, a "Date" of June
11th and "Equipment" of VX3200 and one with a "Name" of Dental Sales
Conference, a "Date" of June 12th and "Equipment" of VX3200. When I
run the query it indicates that I have 3 events that need that
specialized piece of equipment that have the "ID" of 315. I would
like to have either the report or the query not display any events
with the same "ID". Thus it would only show one of the Events with ID
of 315 and delete or hide the others. Below is the description of the
tables I'm using.

Event.Table
ID.Field
Name.Field
Date.Field
Equipment.Field

Subevent.Table (Linked using the primary key (ID.Field) from the
Event.Table)
Name.Field
Date.Field
Equipment.Field

Thanks for your time.

-RJL
  #2  
Old May 12th, 2004, 12:31 AM
Marc
external usenet poster
 
Posts: n/a
Default Eliminating Duplicate Records in a Form or Query

snip

Event.Table
ID.Field
Name.Field
Date.Field
Equipment.Field

Subevent.Table (Linked using the primary key (ID.Field) from the
Event.Table)
Name.Field
Date.Field
Equipment.Field

Thanks for your time.


Hi,
Unless I've misunderstood something, why don't you just remove the subevent
table from the report.

Marc


 




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 11:41 PM.


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