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 / Forms / October 2005

Tip: Looking for answers? Try searching our database.

combobox - removing duplicates

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Neil M - 31 Oct 2005 14:07 GMT
Is there anyway to remove showing duplicate records ina  subform linked to a
query

The query just shows NAMES in AZ order from the table, but I dont want the
combo to show duplicate names?

Thanks.

Neil
Klatuu - 31 Oct 2005 14:16 GMT
Make your query a Totals query and use a Group By on the names.

> Is there anyway to remove showing duplicate records ina  subform linked to a
> query
[quoted text clipped - 5 lines]
>
> Neil
Brendan Reynolds - 31 Oct 2005 14:23 GMT
Neil, your subject line says 'combobox', but the body of your message says
'subform'.

If a combo box, you need to modify the row source property, if a subform,
you need to modify the record source property. Either way, if the property
is referring directly to the table, change it to a SQL statement using the
DISTINCT keyword like so ...

SELECT DISTINCT YourFieldName FROM YourTableName

Here's a link to the relevant on-line help topic ...
http://office.microsoft.com/assistance/hfws.aspx?AssetID=HP010322051033

Signature

Brendan Reynolds

> Is there anyway to remove showing duplicate records ina  subform linked to
> a
[quoted text clipped - 6 lines]
>
> Neil
 
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.