Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / March 2006

Tip: Looking for answers? Try searching our database.

Showing No Duplicates

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Brad - 30 Mar 2006 01:10 GMT
Simple question.. I think

My query is showing the same name 2 times I want to only see the name one time
Example

Staff members Vacation Pay
John
Bill
Tom
Bill

What do I enter in the criteria to show only one bill or tom ect.

Thanks brad
Jeff Boyce - 30 Mar 2006 01:21 GMT
Brad

Open the query in design mode.  Select Query | Properties.  Change the
Unique Values property to Yes.

Regards

Jeff Boyce
Microsoft Office/Access MVP

> Simple question.. I think
>
[quoted text clipped - 11 lines]
>
> Thanks brad
Brad - 30 Mar 2006 01:37 GMT
Jeff
Sorry for the stupid question but i where can i find the properties for the
query??
thanks
brad

> Brad
>
[quoted text clipped - 21 lines]
> >
> > Thanks brad
Brad - 30 Mar 2006 01:42 GMT
Jeff
Found it... But it did not work? Still showing 2 Toms?
Brad

> Brad
>
[quoted text clipped - 21 lines]
> >
> > Thanks brad
Gav - 30 Mar 2006 15:45 GMT
Post the SQL for the query Brad and i'll show you how to amend it. You need
to add the DISTINCT clause in.

Gav

> Jeff
> Found it... But it did not work? Still showing 2 Toms?
[quoted text clipped - 25 lines]
> > >
> > > Thanks brad
Gav - 30 Mar 2006 15:45 GMT
Post the SQl for the query Brad and i'll show you how to alter it.

> Jeff
> Found it... But it did not work? Still showing 2 Toms?
[quoted text clipped - 25 lines]
> > >
> > > Thanks brad
Michel Walsh - 30 Mar 2006 18:02 GMT
Hi,

You probably selected more than one field. Select just one field, or, if you
need some of the other N fields, use:

SELECT Employee, LAST(otherField1), LAST(otherField2), .... ,
LAST(otherFieldN)
FROM myTable
GROUP BY Employee

Hoping it may help,
Vanderghast, Access MVP

> Jeff
> Found it... But it did not work? Still showing 2 Toms?
[quoted text clipped - 26 lines]
>> >
>> > Thanks brad
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.