>I wonder why this is not working.
>I want one program to call another.
>So at the beginning of the first one I have:
>
>SET DEFAULT TO c:\myDefault
>SET PATH TO .\PROG, .\DATA, .\REPORTS, \ETC
>
>I have no problem finding, for example, my reports, but when I do:
>
>DO nextProg.prg WITH var1, var2
>
>I have an error: “Cannot create file c:\myDefault\prog\nextProg.FXP”
>Obviously it means what it says, but why this doesn’t work or what is the right way to call the program without using the full path?
The problem is related to a known problem in VFP that causes files to be locked and not released until VFP closes. So to fix the problem I just restart VFP.
Rip Ryness
International Falls, MN