Selasa, 17 April 2018

microsoft access |The ActiveX controls contained in the access form do not appear when the design-time licenses are not available



The ActiveX controls contained in the access form do not appear when the design-time licenses are not available



IMPORTANT: This article is translated using Microsoft's machine translation software and not by a translator. Microsoft offers articles translated by a translator and article translated using a machine so that you will have access to all new articles published in Knowledge Base in the language you use. However, the article translated using machine is not always perfect. The article may have a vocabulary, syntactic, or grammatical error, almost the same as a stranger speaking your language. Microsoft is not responsible for the accuracy, errors or damage caused by content translation errors or their use by customers. Microsoft also frequently updates the translator engine software.

View original English article: {article}

This article applies to a Microsoft Access database (MDB) file or a Microsoft Access database (.accdb) file.

Beginner: Requires user interface knowledge on a single user's computer.
Symptoms
In the Data Access Base, the form may have a MFC ActiveX license control. Additionally, forms may also have other controls such as text boxes that are restricted to linked table columns. If you open this form in the form view, the MFC ActiveX control may not be displayed. This problem occurs if the design-time license option for the MFC ActiveX control is not available on the same computer where the form resides.

Note If you add a MFC ActiveX form control, and MFC ActiveX controls license it with a design-time license. The availability of design-time licenses on the same computer where the form is located is not required unless the form is opened in the design view.
Cause
This issue occurs when access attempts to open an form in the design view to rename when running the AutoCorrect name is enabled for a database containing forms. Because the design-time license is not available on the computer, access unregisters the MFC ActiveX control. Therefore, the MFC ActiveX control is not displayed.
Solution to problem
To resolve this issue, disable the AutoCorrect info name path for the database or disable running the AutoCorrect database name before you register the MFC ActiveX control on the computer. To do this, follow these steps:
Start access.
Opens a database containing form with MFC ActiveX control.
On the Tools menu, click
Option.

Note In Access 2007, click the Microsoft Office Button, and then click Current database.
In the options dialog box, click
General tab, and then click to clear the AutoCorrect Name Name check box.

Note
In Access 2007, click to clear the check box to run the AutoCorrect name under the AutoCorrect option name.
You can also click to clear the checkbox to track the AutoCorrect info name for the database. When you click to clear the checkbox track the AutoCorrect info name
Running AutoCorrect name is not available.
Close the database.
Sign out of access.
Move to the command prompt, and then run regsvr32.

When you run this command, it registers the MFC ActiveX control (.ocx file).
Opening the form in the form view.

The MFC ActiveX control is displayed in the form.
Further information
When you enable tracking the AutoCorrect info name for the database, access creates a folder name for each object in the database. Map name used to track name changes. If the name of the AutoCorrect option is also available, access verifies that the name required the changes applied to the object or its contents each time the object is opened. If a change has been made, the name of the change is made automatically.

The problem occurs when you move the database containing the form to another computer, along with the MFC ActiveX control file (.ocx), and then you re-link the table referenced by the control (such as a text box) in the form. When you return a table link, this enables automatic correction of the form info path form. When opening an form in the form view, access tries to auto-correct names by opening an form in the design view. This fails because the design-time license for MFC ActiveX control does not exist. Therefore, the MFC ActiveX control is not displayed in the form.

This issue occurs if the form does not contain a reference to the linked table.

Share on Facebook
Share on Twitter
Share on Google+
Tags :

0 komentar:

Posting Komentar