In reply to Neville Cope.

In EG 8.1 and later, it shouldn't be such an issue. EG locks the data tables only for a short time (configurable). If all data views are closed but you still see data is locked, it might be another process, or running code. Or even another user if it's in a shared space. Or, if working with Excel data, MS Excel can also lock the file.