Doclinks and Archiving

I have an issue i hope someone can help or point me in the right direction.We have 2 databases (A and B). The forms in database A contain a doclink to a form in database B. The forms in database B need to be archived but the doclinks in database A must still remain intact and find the Archived Documents from Database B. Any ideas? Thanks