Académique Documents
Professionnel Documents
Culture Documents
This final suggestion is the most flexible and accurate. Given any table, it gen
erates a recordset of appropriate fields (excluding memo and binary image fields
) and dynamically loops through the fields' collection to perform the recordset
compare.
In this example, two recordsets are used, one being a clone of the other. When a
duplicate is found, it is deleted from the first recordset and the next record
is examined. When it has determined that the records do not match, both recordse
ts are advanced. The code for this solution is shown below. Copy and paste it in
to an Access module and try it.