IBFirstAID
IBFirstAID is a tool that can automatically diagnose and repair corrupted InterBase databases. IBFirstAID is the only solution for automatically repairing corruption that neither gbak nor gfix can handle. It uses its own layer for low-level database access without using the InterBase engine, so it can perform real "surgical" operations and repair your database when all other standard mechanism's cannot.
Using IBFirstAID together with other standard recovery means such as the default gfix and gbak utilities it is possible to repair a corrupted database in more than 80% of all cases. IBSurgeon has a free Diagnostician version of IBFirstAID which you can use to accurately check the actual database status. It will analyze the low-level data structures in your database and present you with a detailed log of what may be wrong in the database.
Product page
IBSurgeon products