ACC2000: Can't Follow Hyperlinks in Totals QueryID: Q197373
|
When you create a totals query that uses the SQL aggregate (totals) functions First() or Last() on a Hyperlink field, the query results do not display a usable Hyperlink field. Instead, you see the Displaytext, Address, and Subaddress portions of the hyperlink displayed as text.
If you want to use a Hyperlink field in a totals query, append the query
results to an existing table that contains a Hyperlink field. Then you can
open the table directly or create a select query based on the table to view
the results, and you'll be able to follow the hyperlinks.
The following example uses the Suppliers table in the sample database
Northwind.mdb to illustrate how to do this:
Table: Suppliers2
-----------------------
Field Name: Region
Data Type: Text
Field Name: HomePage
Data Type: Hyperlink
Query: HomePageQuery
--------------------
Type: Select Query
Field: Region
Table: Suppliers
Field: HomePage
Table: Suppliers
When you create a totals query that uses the First() or Last() function on a Hyperlink field, Microsoft Access displays the text equivalent of the Hyperlink field. The text of the field consists of three sections separated by number signs (#): the Displaytext, the Address, and the Subaddress.
For more information about the different parts of a Hyperlink field, click Microsoft Access Help on the
Help menu, type "datatype property" in the Office Assistant or the Answer Wizard,
and then click Search to view the topic.
Additional query words: internet intranet sum
Keywords : kbdta QryTotal IntLink
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: July 15, 1999