The information in this article applies to:
SYMPTOMS
Novice: Requires knowledge of the user interface on single-user computers.
CAUSEASP forms do not contain the built-in functionality to add Hyperlink fields. RESOLUTION
You can edit the Hyperlink field in the Microsoft Access table to provide
the missing information, or you can enter the Hyperlink field on the ASP
form in a way that Microsoft Access understands and translates to hyperlink
data.
Editing the Record in the Table
Entering the Record as a Hyperlink on the ASP FormWhen you add or modify a record using the ASP form, you can type the hyperlink information in a way that enables Microsoft Access to create a valid Hyperlink field in the table.All Hyperlink fields consist of three separate parts, separated by number signs: DisplayText, Address, and Subaddress. The DisplayText is what you see in the table or on the form; the address and subaddress information tells Microsoft Access what you want to view when you click the hyperlink. For example, the following hyperlink uses all three parts of the hyperlink field:
In this example, 1997 Sales Figures is what a user sees in the hyperlink field, C:\My Documents\Sales.ppt is the name of the Microsoft PowerPoint slide that opens when you click the link, and 24 is the slide number that is displayed. The next examples use only two of the three parts in the Hyperlink field: Microsoft Home Page#http://www.microsoft.com# Quarterly Orders Form##Form Quarterly Orders The first hyperlink displays the text "Microsoft Home Page" and opens http://www.microsoft.com when you click the link. The second hyperlink displays the text "Quarterly Orders Form" and opens the Quarterly Orders form in the current database when you click it. Finally, this example uses only one of the parts of the Hyperlink field: #http://www.microsoft.com/accessdev# In this case, Microsoft Access displays http://www.microsoft.com/accessdev by default because there is no specific display text, and it also opens http://www.microsoft.com/accessdev when you click it. If you enter hyperlink data in your ASP form using the correct syntax for DisplayText, Address, and Subaddress, then Microsoft Access stores the data as a valid hyperlink. STATUSThis behavior is by design. MORE INFORMATIONSteps to Reproduce BehaviorCAUTION: Following the steps in this example will modify the sample database Northwind.mdb. You may want to back up the Northwind.mdb file and perform these steps on a copy of the database.
REFERENCES
For more information about the parts of a Hyperlink field, search the Help
Index for "hyperlinks, returning hyperlink information."
Q159682 "Data Source Name Not Found" Err Msg Opening Web Page For more information about the permission you need on your Web server computer to view ASP files, please see the following article in the Microsoft Knowledge Base: Q162975 ACC97: Permissions Necessary to View HTML, IDC, and ASP Files Additional query words: follow open data entry
Keywords : kbinterop IntLink IntAsp |
Last Reviewed: April 22, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |