Elyse, what is the exact
runtime error? Is it the same as when you closed your edit window?
>>>It compiles now, but I still get an error at runtime (no spaces in file name). I'm also using VFP7.
>>>
>>>>It compiled on my machine WIN2K/VFP7.0
>>>>
>>>>Just on a chance try &lcFile instead. I have found occasional inconsistencies with macro expansions using & versus ().
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.