ACC2000: Can't Use Any Wizard While in Break Mode of a Module (208204)



The information in this article applies to:

  • Microsoft Access 2000

This article was previously published under Q208204
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).

Moderate: Requires basic macro, coding, and interoperability skills.

SYMPTOMS

If you try to run a wizard while in break mode of a module, you may receive one of the following error messages:
Microsoft Access can't find the wizard, or there is a syntax error in the Declarations section of a Visual Basic module.

or

This feature currently isn't installed.

CAUSE

You cannot run any of the wizards while in break mode of a module.

RESOLUTION

Stop all code from executing, and then run the wizard.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a new database called Test.mdb.
  2. Create a new module, and type the following procedure:
    Sub MySub()
    Stop
    End Sub
    					
  3. Run the procedure from the Immediate window.

    The Stop command puts the module into break mode.
  4. Do not end the procedure. Press ALT+F11 to switch to Access.
  5. On the Tools menu, point to Analyze, and then click Table. Note that you receive the error message described in the "Symptoms" section.

Modification Type:MajorLast Reviewed:6/24/2004
Keywords:kberrmsg kbprb kbprogramming KB208204