RE: File()

From: Mark (Mark_at_discussions.microsoft.com)
Date: 01/10/05


Date: Mon, 10 Jan 2005 08:01:05 -0800

Hi,
You may want to consider the LOCFILE() or GETFILE() functions instead and
check if a filename is returned.

hth

Mark

"zzuffendoffer" wrote:

> The File() returns .t. when the directory\filename is anywhere on the Path.
> I.E. file('c:\remote\test.txt') returns .t. when the file exists as
> J:\dbfs\remote\test.txt and 'J:\dbfs' is in the Path. Is this Normal
> behavior? It happens in VFP8 and VFP9Beta. I'd expect a .f. to be
> returned if I specify the path I want searched. Fopen() also will open
> the file in the same scenario above.
>
> Thanks for any help...
>
>



Relevant Pages

  • RE: Uptating from a local view
    ... Many thanks Mark, it worked. ... >> OPEN DATABASE data1 ... >>> You did not specify a KeyField and there are some typos e.g ... >>> hth ...
    (microsoft.public.fox.programmer.exchange)
  • Re: TO CATCH A PREDATOR IN TALK.ORIGINS -- JFK, 911 and Other Conspiracies
    ... Some blokes establish, specify, and breed. ... mark. ... Many grateful huntings near the unwilling hemisphere were ...
    (sci.crypt)
  • RE: change value of date time field
    ... "Ofer" wrote: ... >>> If I answered your question, please mark it as an answer. ... >>> HTH, good luck ...
    (microsoft.public.access.modulesdaovba)
  • RE: Uptating from a local view
    ... Mark there was a typing mistake in my code. ... > You did not specify a KeyField and there are some typos e.g ... >> unload method gets executed and it gives me the following error message. ... >> OPEN DATABASE data1 ...
    (microsoft.public.fox.programmer.exchange)
  • Re: show field depending on checkbox
    ... > FieldName] = True) ... >>> If I answered your question, please mark it as an answer. ... >>> HTH, good luck ...
    (microsoft.public.access.forms)