Link to home
Start Free TrialLog in
Avatar of englishman
englishman

asked on

Access FileSearch Workaround

Hi,
My Access2000 app "expiry system" had the following code which won't work in 2003/2007 - they don't support .FileSearch.
Please could someone show me a workaround?
Thanks all
---------------------------------------
With Application.FileSearch
.NewSearch
.LookIn = "c:\"
.filename = "rctrits09.txt"
If .Execute() > 0 Then
GoTo expiry
End If
End With
ASKER CERTIFIED SOLUTION
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It seems strange that 2003 and 2007 don't support the filesearch and looking at http://support.microsoft.com/kb/870962/en-us it sould appear that this has been moved to Microsoft Office.

Cheers, Andrew
Avatar of englishman
englishman

ASKER

thanks