From: blake7 on
Hi All, I have the code below on a command button, to insert a hyperlink into
a text box, but it is not working, can you help. Thanks



Private Sub Command107_Click()
Me.Hyperlink1.SetFocus
RunCommand acCmdInsertHyperlink

End Sub
From: Wayne-I-M on
Is Hyperlink1 an OLE field ?

If not you need to give more details of what the end result is that you're
trying to get.

Also, when you say "not working". Are you getting an error message (like
2046 or 2501, etc)

More details are needed to be able to give a good answer


--
Wayne
Manchester, England.



"blake7" wrote:

> Hi All, I have the code below on a command button, to insert a hyperlink into
> a text box, but it is not working, can you help. Thanks
>
>
>
> Private Sub Command107_Click()
> Me.Hyperlink1.SetFocus
> RunCommand acCmdInsertHyperlink
>
> End Sub
From: blake7 on
Hi Wayne, Thanks for replying, how do i check to see if it is an OLE and what
does this mean? I do not get an error message when i push the command key but
the fields in the form just flicker a bit ???. Thanks

"Wayne-I-M" wrote:

> Is Hyperlink1 an OLE field ?
>
> If not you need to give more details of what the end result is that you're
> trying to get.
>
> Also, when you say "not working". Are you getting an error message (like
> 2046 or 2501, etc)
>
> More details are needed to be able to give a good answer
>
>
> --
> Wayne
> Manchester, England.
>
>
>
> "blake7" wrote:
>
> > Hi All, I have the code below on a command button, to insert a hyperlink into
> > a text box, but it is not working, can you help. Thanks
> >
> >
> >
> > Private Sub Command107_Click()
> > Me.Hyperlink1.SetFocus
> > RunCommand acCmdInsertHyperlink
> >
> > End Sub
From: Wayne-I-M on
Can you say what it is you're trying to do.
I will try and help. There are many experts on this forum, I'm not one of
them, I just write code, but I'll give it a try.





--
Wayne
Manchester, England.



"blake7" wrote:

> Hi Wayne, Thanks for replying, how do i check to see if it is an OLE and what
> does this mean? I do not get an error message when i push the command key but
> the fields in the form just flicker a bit ???. Thanks
>
> "Wayne-I-M" wrote:
>
> > Is Hyperlink1 an OLE field ?
> >
> > If not you need to give more details of what the end result is that you're
> > trying to get.
> >
> > Also, when you say "not working". Are you getting an error message (like
> > 2046 or 2501, etc)
> >
> > More details are needed to be able to give a good answer
> >
> >
> > --
> > Wayne
> > Manchester, England.
> >
> >
> >
> > "blake7" wrote:
> >
> > > Hi All, I have the code below on a command button, to insert a hyperlink into
> > > a text box, but it is not working, can you help. Thanks
> > >
> > >
> > >
> > > Private Sub Command107_Click()
> > > Me.Hyperlink1.SetFocus
> > > RunCommand acCmdInsertHyperlink
> > >
> > > End Sub
From: blake7 on
Hi Wayne, I have a text [hyperlink field] in which i want to create a link to
a stored pdf file, I want the operator to push the command key to initiate
the insert hyperlink command, this will insert the hyperlink into the text
box, that way anyone viewing the form can click on the link to view the pdf
document.

Hope this explains better what I am trying to do.

"Wayne-I-M" wrote:

> Can you say what it is you're trying to do.
> I will try and help. There are many experts on this forum, I'm not one of
> them, I just write code, but I'll give it a try.
>
>
>
>
>
> --
> Wayne
> Manchester, England.
>
>
>
> "blake7" wrote:
>
> > Hi Wayne, Thanks for replying, how do i check to see if it is an OLE and what
> > does this mean? I do not get an error message when i push the command key but
> > the fields in the form just flicker a bit ???. Thanks
> >
> > "Wayne-I-M" wrote:
> >
> > > Is Hyperlink1 an OLE field ?
> > >
> > > If not you need to give more details of what the end result is that you're
> > > trying to get.
> > >
> > > Also, when you say "not working". Are you getting an error message (like
> > > 2046 or 2501, etc)
> > >
> > > More details are needed to be able to give a good answer
> > >
> > >
> > > --
> > > Wayne
> > > Manchester, England.
> > >
> > >
> > >
> > > "blake7" wrote:
> > >
> > > > Hi All, I have the code below on a command button, to insert a hyperlink into
> > > > a text box, but it is not working, can you help. Thanks
> > > >
> > > >
> > > >
> > > > Private Sub Command107_Click()
> > > > Me.Hyperlink1.SetFocus
> > > > RunCommand acCmdInsertHyperlink
> > > >
> > > > End Sub
 |  Next  |  Last
Pages: 1 2
Prev: LINKING MASTER WITH SUB-SUBFORM
Next: Need Help...