Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hyperlinks in table 1

Status
Not open for further replies.

OzFoxy

Programmer
Dec 20, 2008
28
AU
Table Name: Fixtures
Field: Report (data type is Hyperlink)
I have the following code which puts the hyperlink (text?)into the field.
rstFixtures!Report ="#I create a report from the table, and output that to a HTML page, and the link works fine when clicked.
The text that appears in the table field, on the report, and the web page, is the URL.
If I manually edit the field in the table (right click, hyperlink, edit hyperlink) I can set the 'Text to display' property to 'Match Report', then that displays in the report and on the web page.
My question is: Is there any way of setting the text to display property of the (table) field in VBA?
Hope I have provided sufficient info.
Thanks in anticipation.
 
Fantastico. That's about the only thing I didn't try. And my first reaction on seeing the solution was that I had wasted several hours on this, but then realised that along the way I had read lots of stuff from help, lots of other posts, and that in reality it was a learning journey.
Thanks very much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top