file browser in Access

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.
 
N

Nick Coe \(UK\)

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
 
L

LarryP

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.
 
L

Larry Linson

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top