Medisoft Error 7016
Tools Needed:
Advantage Data Architect (ARC32)
ADTFIX
WARNING: Follow these steps at your own risk. If not done properly could cause serious data corruption or complete loss of data!
Process for Correcting:
1. Identify which data files are corrupt and giving you the error 7016.
2. Free the data dictionary bound table.
3. If you copied multiple tables as part of step 2, you will need to repeat the process for each table.
4. Run ADTFIX on the directory into which you copied the corrupted files. (Please note: There is a new version of ADTFIX that may not require you to move the data to a version 9 dataset. We have not received any reports as to whether or not this new version of ADTFIX works in this manner or not.)
5. Open the corrupted file using ARC32 version 8 or higher.
6. Encrypt the table. You may get an error message. If you do, click on OK.
7. Scroll to the bottom of the table. You will see corrupted records. Delete the corrupted records using [CTRL]-[Delete].
8. If you get to a record that will not allow you to delete it, you will need to backspace out all the fields in that record, and then delete it. If the program freezes when you try to delete the record, and will not allow you to open the table again, reboot the computer, and you will be able to open the table.
9. Once all the corrupted records have been deleted, encrypt and decrypt the table.
10. Pack the data.
11. Rebuild the index files.
12. Repeat steps 10-16 for each .ADT table copied in step 3.
13. Copy the .ADT and .ADM files back into the original dataset.
14. Run the Repair Practice Data portion of the MediUtils program on the dataset. (See Appendix E)
15. Rebuild the index files for the entire practice from within NDCMedisoft.