Prevent duplicate records in a query based on fields in the design grid
- Open a query in Design view.
- Select the query by clicking anywhere in query Design view outside the design grid and the field lists.
- Click Properties on the toolbar to display the query's property sheet.
- Set the UniqueValues property to Yes.
If the query's results include more than one field, the combination of values from all fields must be unique for a given record to be included in the results.
- To view the query's results, click View on the toolbar.
Note When the UniqueValues property is set to Yes, Microsoft Access automatically sets the UniqueRecords property to No.