Applies to: IP Driver 2 era (Clarion 6 / 7, 2008); check the version before applying.
Problem
Procedures running on their own thread occasionally fail with error 27 (invalid table definition) through the IP driver. The same code never fails on TPS directly.
Solution
The trigger is files being opened and closed rapidly on several threads. Two measures that worked for the posters:
- Keep the files open: in ABC, clear the global File tab option "Defer opening files until access" (lazy open), so every file opens once at start-up and stays open. Legacy-template applications already behave that way.
- Open and close in one non-threaded place (the calling window) and let the threaded procedure only read and write.
Upgrading the IP driver removed the error for at least one legacy application.
Caveats
The posters held this for a driver defect, reported for two years at the time, and SoftVelocity's view is not in the thread; the two measures reduce the frequency rather than prove the cause.
Today (2026)
Era-specific. Verify on the current IP driver before publishing; if the error no longer reproduces this entry becomes a history note.
Sources: Meredith (Feb 2008, the question), Paul H., Chuck T., Johan R., Richard R. (Feb 2008) in softvelocity.clarion.databasedrivers.