"JB" <JB[ at ]discussions.microsoft.com> wrote in message news:8FF456C6-AC39-4B4B-96A4-5A4324BAC06F[ at ]microsoft.com...
[Quoted Text] > 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.
-- Rick Brandt, Microsoft Access MVP Email (as appropriate) to... RBrandt at Hunter dot com
|