ACC97: HyperLink Address Not Updated Correctly When Edited

ID: Q165627


The information in this article applies to:


SYMPTOMS

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

When you edit a hyperlink address while in Datasheet view of a table or query, and the hyperlink address does not include http: at the beginning of the address, the hyperlink data is not updated in the datasheet. However when you move the pointer over the hyperlink, the status bar text reflects the correct address.


RESOLUTION

When you change a hyperlink address directly or by using Data Access Objects (DAO) methods, you must include the http:// characters or the number sign (#) before and after the address in order to see the changes.

For more information about editing a hyperlink, please see the following article in the Microsoft Knowledge Base:

Q159327 ACC97: How to Edit Data in a Hyperlink Field in a Table


MORE INFORMATION

Steps to Reproduce Behavior


  1. Open the sample database Northwind.mdb and create the following table:
    
          Table: Table1
          --------------------
          Field Name: Field1
          Date Type: Hyperlink 


  2. Open the table in Datasheet view and type
    http://support.microsoft.com/support/access/default.asp

    in the Hyperlink field.


  3. In the second record type
    
          support.microsoft.com/support/excel/default.asp 


  4. Return to the first record. Right-click the hyperlink, point to Hyperlink on the shortcut menu, and then click Edit Hyperlink.


  5. Delete access/default.asp from the hyperlink. Note that the address change is reflected correctly in the datasheet.


  6. Go to the second record. Right-click the hyperlink, point to Hyperlink on the shortcut menu, and then click Edit Hyperlink. Delete Excel/default.asp from the hyperlink.

    Note that the change is not reflected in the hyperlink in the datasheet; however, if you move the pointer over the hyperlink, you can see the updated information in the status bar.



REFERENCES

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


Keywords          : kbui IntLink 
Version           : 97
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: April 30, 1999