I have a table named "InspectionsInfo" in this table there are two Fields:
"Inspection Number" and " Inspection Type Code"
I like to have a script that I can run to update the Inspection number is the following criteria is found:
If the "Inspection Number" and "Inspection Type Code" are the same then update any subsquent records where these two fields are the same by adding an "A","B","C",etc, to the end of the "Inspection Number" see example below.
Can someone please assist me with this script???
CURRENT DATA AFTER UPDATE
Inspection Number Inspection Type Code Inspection Number
1998-00000130 PL05 1998-00000130
1998-00000130 PL01 1998-00000130
1998-00000130 PL01 1998-00000130A
1998-00000130 PL04 1998-00000130
1998-00000130 PL04 1998-00000130A
1998-00000130 PL04 1998-00000130B
1998-00000130 PL04 1998-00000130C
1998-00000130 PL04 1998-00000130D
1998-00000130 BD03 1998-00000130
1998-00000130 BD03 1998-00000130A