Elyse, another (very) long shot. Delete the offending line, the line before and the line after to make sure there are no "strange" chrs anywhere. Does the program/form compile without error? Clean up the project using Project - Clean Up Project. Then
re-type the line again - do not copy/paste the old line. Does this work? (Its a looong shot).
Where is
-sb- when you need him??
>Same error - "Command contains unrecognized phrase/keyword"
>
>>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.