>Miles, take a look at ISFLOCKED() to see if the table is locked or not.
<snip>
The ISFLOCKED() function tells if table is locked by the current instance of an application. AFAIK, you've to loock a table to find out if it's locked already by something else.
--sb--