Hello,
I'm using a module i had for an access 2003 DB using ".FileSearch" property, but my computers at work have upgraded to access 2007. Could some body please help me convert this section of code to work on 2007?
This is the error msg i get when i use my current code.
"You entered an expression that has an invalid reference to the property FileSearch."
I've looked around and found that its because access 2007 doesn't support it anymore i just don't have the programming skills to figure it out.
fn = CurrentProject.Path & "\Imports\"
Set fs = Application.FileSearch
With fs
.LookIn = fn
I'm using a module i had for an access 2003 DB using ".FileSearch" property, but my computers at work have upgraded to access 2007. Could some body please help me convert this section of code to work on 2007?
This is the error msg i get when i use my current code.
"You entered an expression that has an invalid reference to the property FileSearch."
I've looked around and found that its because access 2007 doesn't support it anymore i just don't have the programming skills to figure it out.
fn = CurrentProject.Path & "\Imports\"
Set fs = Application.FileSearch
With fs
.LookIn = fn