Question about Lebans A2KCallBackBrowseVer4 problem

  • Thread starter Thread starter magicdds
  • Start date Start date
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
 
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.
 
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
 
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.
 
Back
Top