Hi, In my previous message i sid setlasterror fn. Actually I wrote my own which dows nothing but Create a temp file and forcibily make some errors. --hari _________________________________________________________________ One and only Ash. Find out all about her. Only on MSN Search http://server1.msn.co.in/profile/aishwarya.asp