Question about Lebans A2KCallBackBrowseVer4 problem

M

magicdds

There are 2 forms that come with this sample database:
frmCallbacks
frmFileDialog

I imported both forms and the 2 modules into a new database and both forms
worked fine. When I imported the 2 forms and the 2 modules into my existing
database, frmCallbacks works normally. When I try to use the form
frmFileDialog, I get an error message:

COMPILE ERROR
Ambiguous Name Detected: ahtAddFilterItem

Does anyone know anything about this sample BROWSE button function and how
to correct this error?

Thanks for any help.
Mark
 
D

Douglas J. Steele

The error implies that you already had ahtAddFilterItem defined in your
code. Open any module and do a global search to find the two definitions and
delete (or rename) one of them.
 
M

magicdds

You were correct. Unfortunately, I found out the hard way.... I deleted one
module at a time, until I found the offending module.

Perhaps you could tell me how to do a Global Search, in case I need the
information for the future.

Thanks
Mark
 
D

Douglas J. Steele

While you're in a module in the VB Editor, select Find from the Edit menu
(or use Ctrl-F). In the dialog box that appears, ensure you've selected the
"Current Project" radio button under Search.
 

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