Hi,
there is no filesearch in Access 2007 anymore, you can use API instead, like
here:
http://www.mvps.org/access/api/api0006.htm
more samples are here:
http://www.freevbcode.com/

Signature
Best regards,
___________
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com
>I recently moved my file designed in Access 2003 into Access 2007 and now
>the
[quoted text clipped - 5 lines]
> added
> in to the references, but it doesn't seem to work.
Steven Cheng - 14 Mar 2007 06:43 GMT
thanks alot. but would the api be able to provide a list of files in a
particularly directory? seems this function call from the
http://www.mvps.org/accesss/api/api0006.htm would only allow for search for a
particular file and return its path.
> Hi,
> there is no filesearch in Access 2007 anymore, you can use API instead, like
[quoted text clipped - 13 lines]
> > added
> > in to the references, but it doesn't seem to work.
Alex Dybenko - 15 Mar 2007 22:12 GMT
To list files in a particular directory - you can use VBA Dir function

Signature
Best regards,
___________
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com
> thanks alot. but would the api be able to provide a list of files in a
> particularly directory? seems this function call from the
[quoted text clipped - 22 lines]
>> > added
>> > in to the references, but it doesn't seem to work.
Simon T-L - 21 May 2007 13:37 GMT
Not wishing to write something which was working perfectly well under
Access2000, can I use an old dll to reinstate this under Access 2007 - and
which one do I need? Many thanks...