is there something to get rid of duplicates

D

dlb1228

i have a query and i want to put something in the query to get rid of
duplicate recrods ? is there anyway to do this

loan #
12367
12367
1245
1268

i only want to show 12367 one time
 
J

Jeff C

you can try opening the properties of the query and changing "Unique
Properties" to yes.
 
D

dlb1228

when i hit the properties button in design view it doesnt give me anything
about unique properties
 
J

John Spencer

Easiest way is to open the query in SQL VIEW (from design view select View:
SQL from the menu) and type the word "DISTINCT" immediately after the word
"Select"

SELECT DISTINCT YourTable.YourField ...

-- OR --

In the grid view, right-click on the grey area, select properties, change
unique values to Yes.
 
Top