Novice: Requires knowledge of the user interface on single-user computers.
Note If you add an MFC ActiveX control to your form, and the MFC ActiveX control is licensed with a design-time license. The availability of the design-time license on the same computer where the form resides is not required unless the form is opened in Design view.
- Start Access.
- Open the database that contains the form with the MFC ActiveX control.
- On the Tools menu, click
Note In Access 2007, click the Microsoft Office Button, and then click Current Database.
- In the Options dialog box, click the
General tab, and then click to clear the Perform name AutoCorrect check box.
- In Access 2007, click to clear the Perform name AutoCorrect check box under Name AutoCorrect Options.
- You may also click to clear the Track name AutoCorrect info check box for the database. When you click to clear the Track name AutoCorrect info check box, the
Perform name AutoCorrect option is unavailable.
- Close the database.
- Exit Access.
- Move to the command prompt, and then run regsvr32.
When you run this command, this registers the MFC ActiveX control (.ocx file).
- Open the form in Form view.
The MFC ActiveX control appears in the form.
The problem occurs when you move the database that contains the form to another computer, together with the MFC ActiveX control file (.ocx), and then you re-link the table that is referred to by the control (such as text box) in the form. When you re-link the table, this activates Track Name AutoCorrect info for the form. When you open the form in Form view, Access tries to perform the name correction automatically by opening the form in Design view. This fails because the design-time license for the MFC ActiveX control does not exist. Therefore, the MFC ActiveX control does not appear on the form.
This problem does not occur if the form does not contain any references to linked tables.