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 / November 2007

Tip: Looking for answers? Try searching our database.

Union Query, duplicates

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mark Baker - 14 Nov 2007 21:50 GMT
I have used a union query to bring together 2 select queries, however I would
like to delete duplicates on the basis of 1 field only.  Is there a way of
specifying the criteria for dealing with duplicates?  I would also need to
tell it which query gets priority.
Wolfgang Kais - 15 Nov 2007 12:49 GMT
Hello Mark.

> I have used a union query to bring together 2 select queries,
> however I would like to delete duplicates on the basis of 1 field
> only. Is there a way of specifying the criteria for dealing with
> duplicates? I would also need to tell it which query gets priority.

Union queries do not support this.
But you can make it a union all query, add a field for the priority
and use this query as the source for a query that does the filtering.

Signature

Regards,
Wolfgang

 
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.