This is caused by a corrupted adt table or by a corrupted adm file.
Attempt to fix by running adtfix.exe utility which can be obtained from Sybase/Advantage.
This may also be fixed by creating a new root Medidata folder due to one of the root tables becoming corrupt…this will require re-registering Medisoft.
Restoring from a backup or professional data repair may be required.