
Originally Posted by
June7
Will depth and geology always both be blank (or both not blank) for same record? Will there not be more than two records for each ID?
If so, try something like:
query DataNotNull
SELECT Table1.ID, Table1.depth, Table1.geology
FROM Table1
WHERE ((Not (Table1.depth) Is Null)) OR ((Not (Table1.geology) Is Null));
query DataNull
SELECT Table1.ID, Table1.depth, Table1.geology
FROM Table1
WHERE (((Table1.depth) Is Null)) OR (((Table1.geology) Is Null));
UPDATE DateNotNull INNER JOIN DataNull ON DateNotNull.ID = DataNull.ID SET DataNull.depth = [DateNotNull].[depth], DataNull.geology = [DateNotNull].[geology];