Probably the best way is to save the used accounts to a temp file. Have a check in your template for text existance of your main account file which you will need to set up in your table NOT to leave an empty file. If the template doesn't find the main account file, you can move your temp file back into your main file by just renaming it when you move it.