I need to search for duplicate fields in a recordset then set another field in the duplicate set to null. I cannot seem to make anything I try work. Any help would be welcomed!
Here is what I need:
Table: TBL_ProdScrap
Fiedls: CastingPN
CastGood
FinMachGood
What I need is to search the recordset for matching CastingPN's. Based on that result, I need to compare the FinMachGood in each of the matching CastingPN fields, then whichever has less in FinMachGood I need that records CastGood field set to NULL. I hope I have clearly explained what I need.
Thank you!
Here is what I need:
Table: TBL_ProdScrap
Fiedls: CastingPN
CastGood
FinMachGood
What I need is to search the recordset for matching CastingPN's. Based on that result, I need to compare the FinMachGood in each of the matching CastingPN fields, then whichever has less in FinMachGood I need that records CastGood field set to NULL. I hope I have clearly explained what I need.
Thank you!