what is the error code that is returned from your "USE" statement?

Add error checking to your script.

code:
? "@error @serror" 

_________________________
Home page: http://www.kixhelp.com/hb/