how to detect if file exists

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there any way to detect if a file exists?

I want my database to display a command button only if file "export.csv"
exists on the server.
 
JB said:
Is there any way to detect if a file exists?

I want my database to display a command button only if file "export.csv"
exists on the server.

Dir("full path to export.csv")

Will return "export/csv" if the file exists and "" if it does not.
 
Back
Top