I want to execute the following Statement:
select * from Matrix where Untersuchungsmethode='Fremdlabor'
The table Matrix exists also the field Untersuchungsmethode.
But I get the Error-message:
select * from Matrix where Untersuchungsmethode='Fremdlabor' [LNA][Zen][SQL Engine][Data Record Manager]The application encountered an I/O error(Btrieve Error 2)
What can be the reason?
An Error 2 indicates:
2: The application encountered an I/O error This status code typically indicates a corrupt file, an error while reading from or writing to the disk. One of the following has occurred:
Since you didn't mention what version you are using, my first guess would be a corrupted file. You should rebuild the data file first.
The simplest way to rebuild the file would be to use BUTIL. Something like:
then
You might lose a few records depending on the corruption. Once complete, rename the old file (or delete it) and then rename the new file to the old filename.