Updating a TQuery or TwwQuery with cached updates

Updating a TQuery or TwwQuery with cached updates and calling
ApplyUpdates followed by Commit Updates results in firstly
a slowdown for each successive record updated and finally an error
- 'Table cannot be opened for exclusive use' - after updating 333
records.

This occurs if the query is connected to a database component or not.