Microsoft KB Archive/197384

= ACC2000: Static Hyperlink on Disabled Subform Appears Enabled =

Article ID: 197384

Article Last Modified on 7/15/2004

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition

-



This article was previously published under Q197384



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 Enabled property of the subform is 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 file or Web page name. 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 Forms under Objects, and then 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. However, you are not able to follow the hyperlink.

