Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ACCESS 2007 - APPLICATION.FILESEARCH 1

Status
Not open for further replies.

Jean9

Programmer
Dec 6, 2004
128
US
For an application written in MS ACCESS XP, the Application.FileSearch works to locate files in a particular drive:
With Application.FileSearch
.NewSearch ' LOOK FOR FILES TO PROCESS
However, this same code in 2007 results in the following error:
"You entered an expression that has an invalid reference to the property FileSearch." Error.Number 2455. I looked this up in the help for 2007 and the same code is still provided to accomplish this task. What might I be missing? I checked the references and re-compiled in 2007. There were no compile errors found.
Thanks for any help,
J9
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top