Conditional help

  • Thread starter Allen the Computer Guy
  • Start date
A

Allen the Computer Guy

I have a macro that runs when my database opens. It checks to see if the
database is running in a trusted location. It then performs a saved import
to update its data. I need a condition to only run the import macro if the
file actually exists. My database is fairly simple but I have REALLY simple
users that can't handle a file not existing error message.

Thanks...
 
S

Steve Schapel

Allen,

Try like this, for the Condition...
Len(Dir("C:\YourFolder\YourFile"))>0
 
Top