Table isn't open.

Error 3160

You tried to perform an operation on a table that hasn't been opened.  Open the table, and then try the operation again.