View Full Version : Unique records


sebastian341
06-18-2009, 11:10 AM
How do you not return records in a query if those records have the same value in a field?

For example the following records are sorted so that the "x" field is unique

x y
A X
A Y
B Z
B X

Sorted gives:
x
A
B

GalaxiomAtHome
06-19-2009, 04:46 AM
Add field1 to the field grid in design view
Right click on the field grid and turn on Totals.

A row will appear showing GROUP BY.

Job done.

sebastian341
06-19-2009, 07:00 AM
I only want to group by one field, and it wont let me do that.