Two files have the same unique idfield (each has many other fields - TableA has statewide data/TableB has locally maintained fields). Several other files have multiple records with this idfield in them.
Often - A temporary IDfield is assigned on admission. When the real IDnumber is assigned the tempID has to be changed in all files.
Can you tell me the trigger syntax/statement order
A) if the Real_ID_already existed. I'd have to update the real_id record with the new data then delete the temp_id record and
B) if it's a new ID.
Often - A temporary IDfield is assigned on admission. When the real IDnumber is assigned the tempID has to be changed in all files.
Can you tell me the trigger syntax/statement order
A) if the Real_ID_already existed. I'd have to update the real_id record with the new data then delete the temp_id record and
B) if it's a new ID.