ACC97: "Command Not Available" Error on Converted Switchboard Form (160124)
The information in this article applies to:
This article was previously published under Q160124
Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
After you convert a database that you created with the Database Wizard in
Microsoft Access 7.0 in Microsoft Access 97, you may receive the following
error message when you click the Change Switchboard Items button on the
Main Switchboard form:
Command Not Available
CAUSE
There is a line of code in the Main Switchboard form's class module that
references a Microsoft Access 7.0 wizard. This line code must be modified
for Microsoft Access 97.
RESOLUTION
To modify the line of code, follow these steps:
- Start Microsoft Access 97 and open the converted database.
- Open the Main Switchboard form in Design view.
- On the View menu, click Code.
- Select HandleButtonClick in the Procedure box of the form's module
window.
- Locate the line in the HandleButtonClick function that reads:
Application.Run "WZMAIN70.sbm_Entry"
- Change the line to read:
Application.Run "WZMAIN80.sbm_Entry"
- Save the form and close it.
REFERENCES
For more information about switchboard forms, search the Help Index for
"switchboard forms," or ask the Microsoft Access 97 Office Assistant.
Modification Type: | Major | Last Reviewed: | 9/27/2003 |
---|
Keywords: | kberrmsg kbprb KB160124 |
---|
|