My pdataset.delete no longer works. I had no problem with it before. Now I got "layer in use" error. I know for a fact that layer should not be in use because it's a temp layer I create in the process of converting an annotation layer. Thanks in advance for your help.