Then you must be doing something that closes the customer table.
You should be able to put a SET STEP ON and walk through the code in the debugger to make sure it is open at the start of the process and find out what is closing it.
>Yes it is set to default