>>Hi BB
>>
>>That didn't work either. Besides, how would FILE() work if its arguments aren't on the VFP path?
>>
>>Thanks
>>
>>Terry
>
>
>It works great if you send full path to it.
That's the point. I don't know the path.
>I prefer to use EMPTY(SYS(2000, [.....])) instead of FILE() becuase it return correct values event the file with the same name exists in current path.
>BTW what do you mean with "it didn't work"?
>FILE() return .f.?
Well, like you and I say, FILE() works if you send it the whole path, but I can't guarantee where the cursor will end up, and it's not on the VFP path. I don't understand about sys(2000). How will it ever find the file in the vastnaess of the network and local drive, uif no path is provided?
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.