Microsoft KB Archive/168876

= ACC97: Static Hyperlink on Disabled Subform Appears Enabled =

Article ID: 168876

Article Last Modified on 1/19/2007

-

APPLIES TO


 * Microsoft Access 97 Standard Edition

-



This article was previously published under Q168876



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



SYMPTOMS
When you open a main form that has a subform, and the subform contains a hyperlink, the hyperlink appears to be active. However, if you click the hyperlink to follow it, nothing happens.



CAUSE
The subform's Enabled property has been set to No, and the controls on the form only appear to be active.



RESOLUTION
Set the Enabled property of the subform to Yes. This will enable you to follow the hyperlink when you click it.



Steps to Reproduce Behavior

 * 1) In the sample database Northwind.mdb, create a new form in Design view.
 * 2) On the Insert menu, click Hyperlink and type http://www.microsoft.com for the URL. Click OK.
 * 3) Save the form as Form1, and then close the form.
 * 4) Create another new form in Design view. Save the form as Form2.
 * 5) Position Form2 on your screen so that you can see the Database window. Click the Forms tab and drag Form1 to the detail section of Form2.
 * 6) Set the Enabled property of the subform to No.
 * 7) Switch the form to Form view. Note that the hyperlink on the subform appears to be active, and if you move the mouse pointer over it, the mouse pointer turns into a hand, and the target address is shown in the Status bar. However, you are not able to follow the hyperlink.

