Form property - IsHyperlink -
08-16-2011
, 01:34 PM
HI All,
In AccessXP I'm trying to use the IsHyperlink property of a textbox on
a form without success. Maybe I'm confused about how it works but what
I'm trying to do is the following;
I have a continious form which has a checkbox and a textbox, the
textbox property IsHyperlink is set to Yes.
When a user clicks the checkbox I run code that opens the GetOpenFile
API dialog box, the user drills down to the server/folder/filename and
that server/folder/filename path then gets written in the textbox and
it shows as a hyperlink(it's underlined and is blue in color). When I
move the cursor over the textbox it changes to the normal finger
cursor but when I actually click on the link nothing happens.
What I need to have happen is the file opens in a seperate window.
These links are to doc or pdf files.
what do I need to do to get the file to open? is there vba code I
need to run in the on-click event?
thanks
bobh. |