Adrianna
Registered User.
- Local time
- Today, 06:23
- Joined
- Oct 16, 2000
- Messages
- 254
Okay, my inital dataset really should have been scrubbed, but the system is up and running and now I've got to go back and fix some serious issues.
I have a locationID in the TblLocation that is passed to the same field in all of my TblITAssets which of course have their own primary keys.
The issue is that some of the "locations" have been duplicated due to entry errors so there are a few entries for the same location that had been assigned different locationIDs passed as the primary key linking all 30 different TblITAssets. Now there are tousands of records and I have to merge these "locations" together across all of the tables. The problem is HOW do I change the duplicate "locationID"s to be the same when the primary key prevents it. It had to be changed in all subsequent tables as well.
I was thinking of doing a form (for reuse if we find more errors later) to allow my team to select the table where the error exists, enter the "LocationID" to search for, and then enter the replacement "LocationID". This issue would be ensuring that my team would have to do this for every table that the incorrect "locationID" exists in prior to deleting the record from the primary table (to prevent orphan records).
Please help!
I have a locationID in the TblLocation that is passed to the same field in all of my TblITAssets which of course have their own primary keys.
The issue is that some of the "locations" have been duplicated due to entry errors so there are a few entries for the same location that had been assigned different locationIDs passed as the primary key linking all 30 different TblITAssets. Now there are tousands of records and I have to merge these "locations" together across all of the tables. The problem is HOW do I change the duplicate "locationID"s to be the same when the primary key prevents it. It had to be changed in all subsequent tables as well.
I was thinking of doing a form (for reuse if we find more errors later) to allow my team to select the table where the error exists, enter the "LocationID" to search for, and then enter the replacement "LocationID". This issue would be ensuring that my team would have to do this for every table that the incorrect "locationID" exists in prior to deleting the record from the primary table (to prevent orphan records).
Please help!