ACC97: Static Hyperlink on Disabled Subform Appears Enabled

ID: Q168876

The information in this article applies to:

SYMPTOMS

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

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.

MORE INFORMATION

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"

   (without the quotations marks) 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.

REFERENCES

For more information about following hyperlinks in Microsoft Access, search the Help Index for "hyperlinks, following," or ask the Microsoft Access 97 Office Assistant.

Additional query words:

Keywords          : kbusage FmsSubf IntLink 
Version           : 97
Platform          : WINDOWS
Hardware          : x86
Issue type        : kbprb

Last Reviewed: May 20, 1999