DBRW ScreenTip %20

A

Appalachia

IN the DBRW I am trying to get a SreenTip on a Link from a Results Cell by
adding <%=FP_FieldLink(fp_rs,"Name")%> to the ScreenTip

All is working well but if "Name" has a space in it I get (e.g.) My%20Name

Displays fine as a result but with the%20 in the ScreenTip.

Is there a way round this?
 
R

Ronx

Remove all spaces from file and folder names. Spaces will always cause
the %20 to appear, and can break links in some browsers. The spaces can
be replaced by a hyphen (best for appearance, IMO) or underline.
 
A

Appalachia

That's not possible... The database has over 1000 entries in 'name' and they
display OK in a Results cell. It's only when in the ScreenTip.
 
M

Mark Fitzpatrick

Can we see the full line of code for the link.

The reason Ron recommended what he did is certain characters are illegal in
URLs. A space is an illegal character and the code for it is a %20. What you
may be finding here is that FP is not transforming this data at all and that
it's completely being done by your browser as they're designed to correct
this issue. If you let us see the full code for this link it will help us
give you better advice on if it can be corrected or not.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - Expression
 
A

Appalachia

Here is the line -
<a title="<%=FP_FieldLink(fp_rs,"Address")%>" target="_blank"
href="<%=FP_FieldLink(fp_rs,"InfoLink")%>">

Do you want the entire 'webbot bot="DatabaseRegion' code?

Thanks
 
S

Stefan B Rusynko

Try replacing the spaces with underscores
<a title="<% = Replace(FP_FieldLink(fp_rs,"Address")," ", "_") %>" target="_blank"
href="<%=FP_FieldLink(fp_rs,"InfoLink")%>">

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| Here is the line -
| <a title="<%=FP_FieldLink(fp_rs,"Address")%>" target="_blank"
| href="<%=FP_FieldLink(fp_rs,"InfoLink")%>">
|
| Do you want the entire 'webbot bot="DatabaseRegion' code?
|
| Thanks
|
|
| --
| Confusion will be my epitaph...
|
|
| "Mark Fitzpatrick" wrote:
|
| > Can we see the full line of code for the link.
| >
| > The reason Ron recommended what he did is certain characters are illegal in
| > URLs. A space is an illegal character and the code for it is a %20. What you
| > may be finding here is that FP is not transforming this data at all and that
| > it's completely being done by your browser as they're designed to correct
| > this issue. If you let us see the full code for this link it will help us
| > give you better advice on if it can be corrected or not.
| >
| > Hope this helps,
| > Mark Fitzpatrick
| > Microsoft MVP - Expression
| >
| >
| > | > > That's not possible... The database has over 1000 entries in 'name' and
| > > they
| > > display OK in a Results cell. It's only when in the ScreenTip.
| > >
| > >
| > > --
| > > Confusion will be my epitaph...
| > >
| > >
| > > "Ronx" wrote:
| > >
| > >> Remove all spaces from file and folder names. Spaces will always cause
| > >> the %20 to appear, and can break links in some browsers. The spaces can
| > >> be replaced by a hyphen (best for appearance, IMO) or underline.
| > >> --
| > >> Ron Symonds - Microsoft MVP (FrontPage)
| > >> Reply only to group - emails will be deleted unread.
| > >>
| > >> http://www.rxs-enterprises.org/fp
| > >>
| > >>
| > >>
| > >>
| > >> | > >>
| > >> > IN the DBRW I am trying to get a SreenTip on a Link from a Results Cell
| > >> > by
| > >> > adding <%=FP_FieldLink(fp_rs,"Name")%> to the ScreenTip
| > >> >
| > >> > All is working well but if "Name" has a space in it I get (e.g.)
| > >> > My%20Name
| > >> >
| > >> > Displays fine as a result but with the%20 in the ScreenTip.
| > >> >
| > >> > Is there a way round this?
| > >> >
| > >> >
| > >> > --
| > >> > Confusion will be my epitaph...
| > >>
| > >>
| >
 
A

Appalachia

SBR - That didn't work. I will publish an example tomorrow.

Thanks


--
Confusion will be my epitaph...


Stefan B Rusynko said:
Try replacing the spaces with underscores
<a title="<% = Replace(FP_FieldLink(fp_rs,"Address")," ", "_") %>" target="_blank"
href="<%=FP_FieldLink(fp_rs,"InfoLink")%>">

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| Here is the line -
| <a title="<%=FP_FieldLink(fp_rs,"Address")%>" target="_blank"
| href="<%=FP_FieldLink(fp_rs,"InfoLink")%>">
|
| Do you want the entire 'webbot bot="DatabaseRegion' code?
|
| Thanks
|
|
| --
| Confusion will be my epitaph...
|
|
| "Mark Fitzpatrick" wrote:
|
| > Can we see the full line of code for the link.
| >
| > The reason Ron recommended what he did is certain characters are illegal in
| > URLs. A space is an illegal character and the code for it is a %20. What you
| > may be finding here is that FP is not transforming this data at all and that
| > it's completely being done by your browser as they're designed to correct
| > this issue. If you let us see the full code for this link it will help us
| > give you better advice on if it can be corrected or not.
| >
| > Hope this helps,
| > Mark Fitzpatrick
| > Microsoft MVP - Expression
| >
| >
| > | > > That's not possible... The database has over 1000 entries in 'name' and
| > > they
| > > display OK in a Results cell. It's only when in the ScreenTip.
| > >
| > >
| > > --
| > > Confusion will be my epitaph...
| > >
| > >
| > > "Ronx" wrote:
| > >
| > >> Remove all spaces from file and folder names. Spaces will always cause
| > >> the %20 to appear, and can break links in some browsers. The spaces can
| > >> be replaced by a hyphen (best for appearance, IMO) or underline.
| > >> --
| > >> Ron Symonds - Microsoft MVP (FrontPage)
| > >> Reply only to group - emails will be deleted unread.
| > >>
| > >> http://www.rxs-enterprises.org/fp
| > >>
| > >>
| > >>
| > >>
| > >> | > >>
| > >> > IN the DBRW I am trying to get a SreenTip on a Link from a Results Cell
| > >> > by
| > >> > adding <%=FP_FieldLink(fp_rs,"Name")%> to the ScreenTip
| > >> >
| > >> > All is working well but if "Name" has a space in it I get (e.g.)
| > >> > My%20Name
| > >> >
| > >> > Displays fine as a result but with the%20 in the ScreenTip.
| > >> >
| > >> > Is there a way round this?
| > >> >
| > >> >
| > >> > --
| > >> > Confusion will be my epitaph...
| > >>
| > >>
| >
 
A

Appalachia

Found it... Fiddled around with SBR's line -
<% = Replace(FP_FieldLink(fp_rs,"Address"),"%20","_") %>
- this works.

The idea was to provide info in the link for Search Engines. Will they 'see'
this with underscores?

App
--
Confusion will be my epitaph...


Appalachia said:
SBR - That didn't work. I will publish an example tomorrow.

Thanks


--
Confusion will be my epitaph...


Stefan B Rusynko said:
Try replacing the spaces with underscores
<a title="<% = Replace(FP_FieldLink(fp_rs,"Address")," ", "_") %>" target="_blank"
href="<%=FP_FieldLink(fp_rs,"InfoLink")%>">

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| Here is the line -
| <a title="<%=FP_FieldLink(fp_rs,"Address")%>" target="_blank"
| href="<%=FP_FieldLink(fp_rs,"InfoLink")%>">
|
| Do you want the entire 'webbot bot="DatabaseRegion' code?
|
| Thanks
|
|
| --
| Confusion will be my epitaph...
|
|
| "Mark Fitzpatrick" wrote:
|
| > Can we see the full line of code for the link.
| >
| > The reason Ron recommended what he did is certain characters are illegal in
| > URLs. A space is an illegal character and the code for it is a %20. What you
| > may be finding here is that FP is not transforming this data at all and that
| > it's completely being done by your browser as they're designed to correct
| > this issue. If you let us see the full code for this link it will help us
| > give you better advice on if it can be corrected or not.
| >
| > Hope this helps,
| > Mark Fitzpatrick
| > Microsoft MVP - Expression
| >
| >
| > | > > That's not possible... The database has over 1000 entries in 'name' and
| > > they
| > > display OK in a Results cell. It's only when in the ScreenTip.
| > >
| > >
| > > --
| > > Confusion will be my epitaph...
| > >
| > >
| > > "Ronx" wrote:
| > >
| > >> Remove all spaces from file and folder names. Spaces will always cause
| > >> the %20 to appear, and can break links in some browsers. The spaces can
| > >> be replaced by a hyphen (best for appearance, IMO) or underline.
| > >> --
| > >> Ron Symonds - Microsoft MVP (FrontPage)
| > >> Reply only to group - emails will be deleted unread.
| > >>
| > >> http://www.rxs-enterprises.org/fp
| > >>
| > >>
| > >>
| > >>
| > >> | > >>
| > >> > IN the DBRW I am trying to get a SreenTip on a Link from a Results Cell
| > >> > by
| > >> > adding <%=FP_FieldLink(fp_rs,"Name")%> to the ScreenTip
| > >> >
| > >> > All is working well but if "Name" has a space in it I get (e.g.)
| > >> > My%20Name
| > >> >
| > >> > Displays fine as a result but with the%20 in the ScreenTip.
| > >> >
| > >> > Is there a way round this?
| > >> >
| > >> >
| > >> > --
| > >> > Confusion will be my epitaph...
| > >>
| > >>
| >
 
S

Stefan B Rusynko

Yes they will
Try
<% = Replace(FP_FieldLink(fp_rs,"Address"),"%20"," ") %>
--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| Found it... Fiddled around with SBR's line -
| <% = Replace(FP_FieldLink(fp_rs,"Address"),"%20","_") %>
| - this works.
|
| The idea was to provide info in the link for Search Engines. Will they 'see'
| this with underscores?
|
| App
| --
| Confusion will be my epitaph...
|
|
| "Appalachia" wrote:
|
| > SBR - That didn't work. I will publish an example tomorrow.
| >
| > Thanks
| >
| >
| > --
| > Confusion will be my epitaph...
| >
| >
| > "Stefan B Rusynko" wrote:
| >
| > > Try replacing the spaces with underscores
| > > <a title="<% = Replace(FP_FieldLink(fp_rs,"Address")," ", "_") %>" target="_blank"
| > > href="<%=FP_FieldLink(fp_rs,"InfoLink")%>">
| > >
| > > --
| > >
| > > _____________________________________________
| > > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > > "Warning - Using the F1 Key will not break anything!" (-;
| > > _____________________________________________
| > >
| > >
| > > | Here is the line -
| > > | <a title="<%=FP_FieldLink(fp_rs,"Address")%>" target="_blank"
| > > | href="<%=FP_FieldLink(fp_rs,"InfoLink")%>">
| > > |
| > > | Do you want the entire 'webbot bot="DatabaseRegion' code?
| > > |
| > > | Thanks
| > > |
| > > |
| > > | --
| > > | Confusion will be my epitaph...
| > > |
| > > |
| > > | "Mark Fitzpatrick" wrote:
| > > |
| > > | > Can we see the full line of code for the link.
| > > | >
| > > | > The reason Ron recommended what he did is certain characters are illegal in
| > > | > URLs. A space is an illegal character and the code for it is a %20. What you
| > > | > may be finding here is that FP is not transforming this data at all and that
| > > | > it's completely being done by your browser as they're designed to correct
| > > | > this issue. If you let us see the full code for this link it will help us
| > > | > give you better advice on if it can be corrected or not.
| > > | >
| > > | > Hope this helps,
| > > | > Mark Fitzpatrick
| > > | > Microsoft MVP - Expression
| > > | >
| > > | >
| > > | > | > > | > > That's not possible... The database has over 1000 entries in 'name' and
| > > | > > they
| > > | > > display OK in a Results cell. It's only when in the ScreenTip.
| > > | > >
| > > | > >
| > > | > > --
| > > | > > Confusion will be my epitaph...
| > > | > >
| > > | > >
| > > | > > "Ronx" wrote:
| > > | > >
| > > | > >> Remove all spaces from file and folder names. Spaces will always cause
| > > | > >> the %20 to appear, and can break links in some browsers. The spaces can
| > > | > >> be replaced by a hyphen (best for appearance, IMO) or underline.
| > > | > >> --
| > > | > >> Ron Symonds - Microsoft MVP (FrontPage)
| > > | > >> Reply only to group - emails will be deleted unread.
| > > | > >>
| > > | > >> http://www.rxs-enterprises.org/fp
| > > | > >>
| > > | > >>
| > > | > >>
| > > | > >>
| > > | > >> | > > | > >>
| > > | > >> > IN the DBRW I am trying to get a SreenTip on a Link from a Results Cell
| > > | > >> > by
| > > | > >> > adding <%=FP_FieldLink(fp_rs,"Name")%> to the ScreenTip
| > > | > >> >
| > > | > >> > All is working well but if "Name" has a space in it I get (e.g.)
| > > | > >> > My%20Name
| > > | > >> >
| > > | > >> > Displays fine as a result but with the%20 in the ScreenTip.
| > > | > >> >
| > > | > >> > Is there a way round this?
| > > | > >> >
| > > | > >> >
| > > | > >> > --
| > > | > >> > Confusion will be my epitaph...
| > > | > >>
| > > | > >>
| > > | >
| > >
| > >
| > >
 
S

Stefan B Rusynko

PS
Search engines also often ignore - or _ in names as separators


--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| Yes they will
| Try
| <% = Replace(FP_FieldLink(fp_rs,"Address"),"%20"," ") %>
| --
|
| _____________________________________________
| SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| "Warning - Using the F1 Key will not break anything!" (-;
| _____________________________________________
|
|
|| Found it... Fiddled around with SBR's line -
|| <% = Replace(FP_FieldLink(fp_rs,"Address"),"%20","_") %>
|| - this works.
||
|| The idea was to provide info in the link for Search Engines. Will they 'see'
|| this with underscores?
||
|| App
|| --
|| Confusion will be my epitaph...
||
||
|| "Appalachia" wrote:
||
|| > SBR - That didn't work. I will publish an example tomorrow.
|| >
|| > Thanks
|| >
|| >
|| > --
|| > Confusion will be my epitaph...
|| >
|| >
|| > "Stefan B Rusynko" wrote:
|| >
|| > > Try replacing the spaces with underscores
|| > > <a title="<% = Replace(FP_FieldLink(fp_rs,"Address")," ", "_") %>" target="_blank"
|| > > href="<%=FP_FieldLink(fp_rs,"InfoLink")%>">
|| > >
|| > > --
|| > >
|| > > _____________________________________________
|| > > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
|| > > "Warning - Using the F1 Key will not break anything!" (-;
|| > > _____________________________________________
|| > >
|| > >
| || > > | Here is the line -
|| > > | <a title="<%=FP_FieldLink(fp_rs,"Address")%>" target="_blank"
|| > > | href="<%=FP_FieldLink(fp_rs,"InfoLink")%>">
|| > > |
|| > > | Do you want the entire 'webbot bot="DatabaseRegion' code?
|| > > |
|| > > | Thanks
|| > > |
|| > > |
|| > > | --
|| > > | Confusion will be my epitaph...
|| > > |
|| > > |
|| > > | "Mark Fitzpatrick" wrote:
|| > > |
|| > > | > Can we see the full line of code for the link.
|| > > | >
|| > > | > The reason Ron recommended what he did is certain characters are illegal in
|| > > | > URLs. A space is an illegal character and the code for it is a %20. What you
|| > > | > may be finding here is that FP is not transforming this data at all and that
|| > > | > it's completely being done by your browser as they're designed to correct
|| > > | > this issue. If you let us see the full code for this link it will help us
|| > > | > give you better advice on if it can be corrected or not.
|| > > | >
|| > > | > Hope this helps,
|| > > | > Mark Fitzpatrick
|| > > | > Microsoft MVP - Expression
|| > > | >
|| > > | >
|| > > | > || > > | > > That's not possible... The database has over 1000 entries in 'name' and
|| > > | > > they
|| > > | > > display OK in a Results cell. It's only when in the ScreenTip.
|| > > | > >
|| > > | > >
|| > > | > > --
|| > > | > > Confusion will be my epitaph...
|| > > | > >
|| > > | > >
|| > > | > > "Ronx" wrote:
|| > > | > >
|| > > | > >> Remove all spaces from file and folder names. Spaces will always cause
|| > > | > >> the %20 to appear, and can break links in some browsers. The spaces can
|| > > | > >> be replaced by a hyphen (best for appearance, IMO) or underline.
|| > > | > >> --
|| > > | > >> Ron Symonds - Microsoft MVP (FrontPage)
|| > > | > >> Reply only to group - emails will be deleted unread.
|| > > | > >>
|| > > | > >> http://www.rxs-enterprises.org/fp
|| > > | > >>
|| > > | > >>
|| > > | > >>
|| > > | > >>
|| > > | > >> || > > | > >>
|| > > | > >> > IN the DBRW I am trying to get a SreenTip on a Link from a Results Cell
|| > > | > >> > by
|| > > | > >> > adding <%=FP_FieldLink(fp_rs,"Name")%> to the ScreenTip
|| > > | > >> >
|| > > | > >> > All is working well but if "Name" has a space in it I get (e.g.)
|| > > | > >> > My%20Name
|| > > | > >> >
|| > > | > >> > Displays fine as a result but with the%20 in the ScreenTip.
|| > > | > >> >
|| > > | > >> > Is there a way round this?
|| > > | > >> >
|| > > | > >> >
|| > > | > >> > --
|| > > | > >> > Confusion will be my epitaph...
|| > > | > >>
|| > > | > >>
|| > > | >
|| > >
|| > >
|| > >
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top