Error in FileSearch object

  • Thread starter Thread starter thriveni
  • Start date Start date
T

thriveni

I have a function in access 2000 that has a statement as
follows :

Dim fs As FileSearch
I have included the MS Access 9.0 object library but I am
getting the error

compile error:
user-defined type not defined.

Where am i going wrong ?
any help will be appreciated.
 
I have a function in access 2000 that has a statement as
follows :

Dim fs As FileSearch
I have included the MS Access 9.0 object library but I am
getting the error

compile error:
user-defined type not defined.

Where am i going wrong ?
any help will be appreciated.

Set a reference to Microsoft Office 9.0 Object Library.
The FileSearch class is a part of Office - it isn't in Access.

- Jim
 
thanku. that helped.
-----Original Message-----


Set a reference to Microsoft Office 9.0 Object Library.
The FileSearch class is a part of Office - it isn't in Access.

- Jim
.
 
Back
Top