N
NotVeryBright
Hello,
The query below
SELECT DISTINCT [MyTable1].[ID] , [MyTable1].[Forename],
[MyTable1].[Surname],MyTable.ID,MyTable.forename,MyTable.surname
FROM MyTable INNER JOIN MyTable AS MyTable1 ON
INT([MyTable].[ID])=INT([MyTable1].[ID])
WHERE ([MyTable].[surname])=("goodier") AND MyTable1.surname="vickers"
Produces these results
00282.05 Mrs Margaret VICKERS 00282.01 John GOODIER
00282.05 Mrs Margaret VICKERS 00282.02 Leonard GOODIER
00282.05 Mrs Margaret VICKERS 00282.03 Fleety GOODIER
00282.05 Mrs Margaret VICKERS 00282.04 Mary GOODIER
00282.05 Mrs Margaret VICKERS 00282.07 Leonard GOODIER
00282.05 Mrs Margaret VICKERS 00282.08 Beatrice GOODIER
00282.06 Mr Simeon VICKERS 00282.01 John GOODIER
00282.06 Mr Simeon VICKERS 00282.02 Leonard GOODIER
00282.06 Mr Simeon VICKERS 00282.03 Fleety GOODIER
00282.06 Mr Simeon VICKERS 00282.04 Mary GOODIER
00282.06 Mr Simeon VICKERS 00282.07 Leonard GOODIER
00282.06 Mr Simeon VICKERS 00282.08 Beatrice GOODIER
Any one give me a hint on how to remove the duplicates?
Thanks and best regards
The query below
SELECT DISTINCT [MyTable1].[ID] , [MyTable1].[Forename],
[MyTable1].[Surname],MyTable.ID,MyTable.forename,MyTable.surname
FROM MyTable INNER JOIN MyTable AS MyTable1 ON
INT([MyTable].[ID])=INT([MyTable1].[ID])
WHERE ([MyTable].[surname])=("goodier") AND MyTable1.surname="vickers"
Produces these results
00282.05 Mrs Margaret VICKERS 00282.01 John GOODIER
00282.05 Mrs Margaret VICKERS 00282.02 Leonard GOODIER
00282.05 Mrs Margaret VICKERS 00282.03 Fleety GOODIER
00282.05 Mrs Margaret VICKERS 00282.04 Mary GOODIER
00282.05 Mrs Margaret VICKERS 00282.07 Leonard GOODIER
00282.05 Mrs Margaret VICKERS 00282.08 Beatrice GOODIER
00282.06 Mr Simeon VICKERS 00282.01 John GOODIER
00282.06 Mr Simeon VICKERS 00282.02 Leonard GOODIER
00282.06 Mr Simeon VICKERS 00282.03 Fleety GOODIER
00282.06 Mr Simeon VICKERS 00282.04 Mary GOODIER
00282.06 Mr Simeon VICKERS 00282.07 Leonard GOODIER
00282.06 Mr Simeon VICKERS 00282.08 Beatrice GOODIER
Any one give me a hint on how to remove the duplicates?
Thanks and best regards