Hilmar
I used your code
* If you can obtain R/W access to a file, delete it
local lnMyFile
lnMyFile = fopen("c:\global\clientstats.xls", 2)
if lnMyFile > 0
fclose(lnMyFile)
endif
That still doesn't appear to work - my email system cannot get access to the file to send it. If I cancel the program and run the email program it sends it just fine
Any ideas?
Thanks
Colin
Specialist in Advertising, Marketing, especially Direct Marketing
I run courses in Business Management and Marketing