>hi,
>
>thanks for your reply.
>
>i get another error, file is in use.. what's wrong?
>
>i have this complete code in my command button click,
>
>
>if file('c:\regions\fbas\'+dfolder+'\dummy.txt')
> erase ('c:\regions\fbas\'+dfolder+'\dummy.txt')
>else
> gnerrfile = fcreate('c:\regions\fbas\'+dfolder+'\dummy.txt')
>endif
>
>
>
>TIA.
Did you FLOCSE() that file somewhere? If you didn't you'll keep receving that message.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.