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 / May 2005

Tip: Looking for answers? Try searching our database.

SQL Keywords

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Scott - 19 May 2005 17:19 GMT
Is there any keywords other that DISTINCT and DISTINCTROW that I can use to
stop duplicate records from being printed in a mailing list. DISTINCT is used
when only one field is needed from a record. I tried to use it, but I got an
error because I need for than one field in the query. Duplicates are still
displayed when DISTINCTROW is used. Does anyone know a great forum or site I
can use to check SQL out in.
Signature

Thank You,
Scott

Van T. Dinh - 19 May 2005 23:50 GMT
You need to use a SubQuery to select a unique value from the Records you
want and then use the Main Query to selected the other details.

See The Access Web article:

http://www.mvps.org/access/queries/qry0020.htm

Signature

HTH
Van T. Dinh
MVP (Access)

> Is there any keywords other that DISTINCT and DISTINCTROW that I can use to
> stop duplicate records from being printed in a mailing list. DISTINCT is used
> when only one field is needed from a record. I tried to use it, but I got an
> error because I need for than one field in the query. Duplicates are still
> displayed when DISTINCTROW is used. Does anyone know a great forum or site I
> can use to check SQL out in.
Scott - 20 May 2005 00:51 GMT
Thank You,
I will try that and see if it helps

Scott

> You need to use a SubQuery to select a unique value from the Records you
> want and then use the Main Query to selected the other details.
[quoted text clipped - 13 lines]
> I
> > can use to check SQL out in.
 
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.