Avatar of seanlhall
seanlhall
Flag for United States of America asked on

How can I replace CurDir() with my own address?

I have a form which loads a list of files from a local folder. The directory is CurDir(). If I change it to anything else I get errors. I have attached the database. LoadLocalDir.accdb
Microsoft AccessMicrosoft Applications

Avatar of undefined
Last Comment
seanlhall

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
peter57r

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
seanlhall

ASKER
I put in your suggestion and added db.Execute "delete from bzlocalDir" and it worked. Thanks.
Your help has saved me hundreds of hours of internet surfing.
fblack61