Hi Evelyn.
i have the above code in my program. when i do this, i get error file is in use in line use customer.First of all, make sure that you are not trying to use the customer table exclusively. After that, modify your code ever so slightly:
IF NOT USED ( [customer] )
USER customer AGAIN IN 0
ENDIF