PaulBarter
MIS
I need to create a SQL statement (actually for a control in VB6 but also applies in access) to select only unique values of 2 fields:
eg
but I only want 1 record for any unique Field2 & Field3 combination.
If I use DISTINCT then it automatically include Field1 and Field4 in it's uniqueness test.
I am using Access 2000
I have put a post in VB6 forum but it may be more relvant here!
eg
Code:
SELECT Field1, Field2, Field3, Field4 FROM MyTable ORDER BY Field2, Field3;
If I use DISTINCT then it automatically include Field1 and Field4 in it's uniqueness test.
I am using Access 2000
I have put a post in VB6 forum but it may be more relvant here!