Is there a way to check to see if a record has a foreign key, before Itry to delete a record ?To check first to see if this record is tied to a foreign key before Itry to change it, thus avoidinga foreign key error.