Hi people.
I have stumbled on something that might be very helpful, taking into account the topic here.
I have two identical tables (different data) in an Access 2007 database, with three columns that I formatted as 'hyperlink' and the data in those fields are file or folder locations. (e.g. c:/user/mydocuments/blahblah.doc)
I have a union query that queries all fields in both tables, basically joining all the data from both tables.
I have one Form that shows all the data fields.
So I can view all records in the one form and click on the hyperlinks to view such things as related photos and other related documents.
But the hyperlinks don't work, even though they were blue and the mouse cursor went to a hand with pointing finger when passed over the blue hyperlinks.
So I changed the table fields with the hyperlinks to OLE, but that didn't work either, so I changed them back to hyperlink.
Then they worked.
But changes were made to the file location text in the query hyperlink fields.
In the union query, in data-sheet view, instead of say,
c:/user/mydocuments/blahblah.doc
there was #c:/user/mydocuments/blahblah.doc#
But this change with the # was only seen in the union query.
The table fields and the form fields still had the original file location description, without the #.
I also checked the union query in it's design view (SQL view) and nothing had changed from the original statement/expression.
So now I can open my database, open the form, search for a text file 'see quote document', click and open it, and it opens in a windows explorer window, go to the accompanying field in the same form, 'see photos', click and open it, ditto, go to the last of my hyperlink fields 'view support documents, ditto.
So is this common knowledge or have I been helpful?
Cheers,
Michael.