|
|
problem with a hyperlink text box in a form
I'm having a problem with a text box in a form whose Control Source is a
table field that has a Hyperlink data type. The Hyperlink addresses are
paths to folders on our network drive. When you click on one of the
hyperlink records directly in a table or query, they work as intended - that
is, Wondows Explorer opens to the network folder designated as the Address
value of the hyperlink.
However, when I try to use the same Hyperlink field as the Control Source
for a text box in a form, the hyperlink doesn't open Windows Explorer. The
only thing that happens is that the display in the text box changes from the
hyperlink label to the full hyperlink address.
Can anyone tell me why this text box in the form is preventing the hyperlink
field value from operating as it does in the table? (I do have the "Is
Hyperlink" property of the form control set to "Yes").
Thanks in advance,
Paul
|
|
0
|
|
|
|
Reply
|
Paul
|
11/5/2007 12:51:51 AM |
|
The IsHyperlink is ONLY there to display the hand when you put your cursor
over it. You need to add code in the click event of the text box to actually
open the hyperlink.
FollowHyperLink Me.YourTextBoxNameHere
--
Bob Larson
Access World Forums Super Moderator
Utter Access VIP
Tutorials at http://www.btabdevelopment.com
__________________________________
If my post was helpful to you, please rate the post.
"Paul Ponzelli" wrote:
> I'm having a problem with a text box in a form whose Control Source is a
> table field that has a Hyperlink data type. The Hyperlink addresses are
> paths to folders on our network drive. When you click on one of the
> hyperlink records directly in a table or query, they work as intended - that
> is, Wondows Explorer opens to the network folder designated as the Address
> value of the hyperlink.
>
> However, when I try to use the same Hyperlink field as the Control Source
> for a text box in a form, the hyperlink doesn't open Windows Explorer. The
> only thing that happens is that the display in the text box changes from the
> hyperlink label to the full hyperlink address.
>
> Can anyone tell me why this text box in the form is preventing the hyperlink
> field value from operating as it does in the table? (I do have the "Is
> Hyperlink" property of the form control set to "Yes").
>
> Thanks in advance,
>
> Paul
>
>
>
|
|
0
|
|
|
|
Reply
|
Utf
|
11/5/2007 2:03:02 AM
|
|
FollowHyperLink works great.
Immediately after the FollowHyperLink line in the control's Enter event, I
used Me!FormName!ControlName.SetFocus to move the cursor to another control
to replace the hyperlink address in the control display with the hyperlink
label.
Thanks for your help with this, Bob.
Paul
"boblarson" <boblarson@discussions.microsoft.com> wrote in message
news:F103EB28-F137-4D73-B7B4-55D35F60A180@microsoft.com...
> The IsHyperlink is ONLY there to display the hand when you put your cursor
> over it. You need to add code in the click event of the text box to
> actually
> open the hyperlink.
>
> FollowHyperLink Me.YourTextBoxNameHere
>
> --
> Bob Larson
> Access World Forums Super Moderator
> Utter Access VIP
> Tutorials at http://www.btabdevelopment.com
> __________________________________
> If my post was helpful to you, please rate the post.
>
>
> "Paul Ponzelli" wrote:
>
>> I'm having a problem with a text box in a form whose Control Source is a
>> table field that has a Hyperlink data type. The Hyperlink addresses are
>> paths to folders on our network drive. When you click on one of the
>> hyperlink records directly in a table or query, they work as intended -
>> that
>> is, Wondows Explorer opens to the network folder designated as the
>> Address
>> value of the hyperlink.
>>
>> However, when I try to use the same Hyperlink field as the Control Source
>> for a text box in a form, the hyperlink doesn't open Windows Explorer.
>> The
>> only thing that happens is that the display in the text box changes from
>> the
>> hyperlink label to the full hyperlink address.
>>
>> Can anyone tell me why this text box in the form is preventing the
>> hyperlink
>> field value from operating as it does in the table? (I do have the "Is
>> Hyperlink" property of the form control set to "Yes").
>>
>> Thanks in advance,
>>
>> Paul
>>
>>
>>
|
|
0
|
|
|
|
Reply
|
Paul
|
11/5/2007 7:04:23 AM
|
|
|
2 Replies
922 Views
(page loaded in 0.122 seconds)
Similiar Articles: problem with a hyperlink text box in a form - microsoft.public ...I'm having a problem with a text box in a form whose Control Source is a table field that has a Hyperlink data type. The Hyperlink addresses are pa... Hyperlink on forms - microsoft.public.access.formsproblem with a hyperlink text box in a form - microsoft.public ... I'm having a problem with a text box in a form whose Control Source is a table field that has a ... Line Break in unbound text box with hyperlink - microsoft.public ...problem with a hyperlink text box in a form - microsoft.public ... Line Break in unbound text box with hyperlink - microsoft.public ... Want text type on one location also ... how to add an outlook email to a text box in an access form ...problem with a hyperlink text box in a form - microsoft.public ... how to add an outlook email to a text box in an access form ... problem with a hyperlink text box in a ... Hyperlink and dialog box - microsoft.public.accessproblem with a hyperlink text box in a form - microsoft.public ... Hyperlink and dialog box - microsoft.public.access problem with a hyperlink text box in a form ... Text Box Control contains generated hyperlink - microsoft.public ...problem with a hyperlink text box in a form - microsoft.public ... Text Box Control contains generated hyperlink - microsoft.public ... Hi. I have a textbox control on a ... Hyperlink in TextBox - microsoft.public.access.forms... in Access 2010 Hello, I am having problems ... Passing form value to hyperlink address - microsoft.public ... Line Break in unbound text box with hyperlink - microsoft ... Why won't a hyperlink in a text box work when I PDF it ...problem with a hyperlink text box in a form - microsoft.public ... Why won't a hyperlink in a text box work when I PDF it ... problem with a hyperlink text box in a form ... Hyperlinks in Access 2007 Rich Text - microsoft.public.access ...However, I have a problem which has been bugging me for days. If I want a clickable hyperlink in a rich text field, all is ... insert a Hyperlink to Rich Text Box Access ... Passing form value to hyperlink address - microsoft.public.access ...problem with a hyperlink text box in a form - microsoft.public ..... as the Address value of the hyperlink ... to the full hyperlink address. problem with a hyperlink text box in a form - microsoft.public ...I'm having a problem with a text box in a form whose Control Source is a table field that has a Hyperlink data type. The Hyperlink addresses are pa... Microsoft Access: problem with a hyperlink text box in a form ...database.itags.org: Microsoft Access question: problem with a hyperlink text box in a form, created at:Fri, 30 May 2008 19:46:00 GMT with 962 bytes, last updated ... Problems with A Hyperlink Control in a Form - Microsoft Access / VBAIt appears that the problem lies with the Form. I have tried: Changing the table field type from 'Hyperlink' to 'Text'. ... Files, Write them to a Text Box as a Hyperlink ... Insert a hyperlink - InfoPath - Office.comIn the Address box, type the URL that you want to link to. To change the hyperlink text that appears on the form template ... you can insert a rich text box into your form ... Hyperlinks in Form Objects - Stefan Cameron on FormsAnother possibility is that your XDP form has some form compatibility setting issues that ... to user input fields is fine, however, I have a regular text box with a hyperlink ... 7/20/2012 5:52:35 PM
|
|
|
|
|
|
|
|
|