dbTalk Databases Forums  

Form property - IsHyperlink

comp.databases.ms-access comp.databases.ms-access


Discuss Form property - IsHyperlink in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
bobh
 
Posts: n/a

Default 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.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.