>yes it is, but then do what? I use the Debugger and manually close it, then an error message "RPc server is unavailable" and this process is hosed.
>
Chuck,
Did you test that sData file is used before attempting MailMerge? If you can not open it with fopen(), it means the file is already used. I don't know if this presents a problem (apparently it does) and how can you free the file if it's used by someone else, for example. If you're a Network Admin, you would be able to do this, but I don't know how to do this programmatically from VFP program.
If it's not broken, fix it until it is.
My Blog