I
Ian Elliott
Thanks for any help.
I am trying to change the date (to one day less of the second repeated
record) of a field in about 120 repeated records (repeating in two fields
different than the date field) in a table that has about 1600 records. It
would take about 10 minutes or so to do by hand, and I figured out a quick
way to do in Excel, but a query would be even nicer. I figured maybe an
update query based on a find duplicates query would work, but I am stumped.
I want to change the first (earlier date) record of the two records to one
day earlier than that of the second record.
Here's the table (an example of duplicates on field1 & field2):
field1,field2,field3,field4,field5,field6
A012E,001,01/01/2004,SAF,248,01/01/2100
A012E,001,12/19/2005,SAF,194,01/01/2100
I would like the query to change the 01/01/2100 of the first record
(field5=248) to one day less than 12/19/2005, ie 12/18/2005.
Sorry for the long explanation but any help much appreciated.
Thanks again.
I am trying to change the date (to one day less of the second repeated
record) of a field in about 120 repeated records (repeating in two fields
different than the date field) in a table that has about 1600 records. It
would take about 10 minutes or so to do by hand, and I figured out a quick
way to do in Excel, but a query would be even nicer. I figured maybe an
update query based on a find duplicates query would work, but I am stumped.
I want to change the first (earlier date) record of the two records to one
day earlier than that of the second record.
Here's the table (an example of duplicates on field1 & field2):
field1,field2,field3,field4,field5,field6
A012E,001,01/01/2004,SAF,248,01/01/2100
A012E,001,12/19/2005,SAF,194,01/01/2100
I would like the query to change the 01/01/2100 of the first record
(field5=248) to one day less than 12/19/2005, ie 12/18/2005.
Sorry for the long explanation but any help much appreciated.
Thanks again.