file browser in Access

  • Thread starter Thread starter Jim
  • Start date Start date
J

Jim

I need to use a file browser in Access and found some code
on the Internet but it is using ahtAddFilterItem and I
cannot find the correct library. Can anyone tell me what
reference library I need? Thank you.
 
I suspect that add filter thingy is to do with a call to set
the file mask for the browse.

If you got the code from the MVPS site then this link is
worthless, otherwise I suggest you try this or it's
successor code from the Access Developer's Handbook (Getz,
Litwin and Gilbert).

http://www.mvps.org/access/api/api0001.htm
 
I can't answer your direct question, but I have a file
browser that I use all the time that I got off another
newsgroup several years ago. I'll E-mail it to you.
 
Use the code from the link that Nick provided, and read it to make sure you
aren't leaving anything out. Someone copied part of one of my samples and
encountered the same error -- just needed to go back, copy a module to have
_all_ the code, and it worked OK.

It's always worth a little effort to try to understand code that you search
and find on the Internet, rather than just plug it in and pray it really
works and does what you want.

Larry Linson
Microsoft Access MVP
 
Back
Top