PC Review


Reply
Thread Tools Rate Thread

<br> mysteriously appears in custom query

 
 
Augie Dawg
Guest
Posts: n/a
 
      12th Jan 2004
FP2002 has the annoying habit of changing all occurances of a carriage
return to "<br>" whenever I use a literal in the query, e.g. SELECT
FirstName & ' ' & LastName AS Name. Is there any way to get around this
behavior?

Thanks,
A.D.



 
Reply With Quote
 
 
 
 
Jim Buyens
Guest
Posts: n/a
 
      12th Jan 2004
>-----Original Message-----
>FP2002 has the annoying habit of changing all occurances
>of a carriage return to "<br>" whenever I use a literal
>in the query, e.g. SELECT FirstName & ' ' & LastName AS
>Name. Is there any way to get around this behavior?


This is typical in the northern states this time of year,
especially when the query goes outside without an overcoat.

Seriously, try this:

1. Right-click the column value in the finished
Database Results Region
2. Choose Database Column Value Properties from
the shortcut menu.
3. Select the Column Value Contains HTML checkbox.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------

 
Reply With Quote
 
Augie Dawg
Guest
Posts: n/a
 
      12th Jan 2004
Thanks, that worked! To be honest, I really thought you misread my
question, because I saw no relationship between my problem and your
solution. I'd be very interested in knowing what was happening to cause the
substitutions of "<br>", and how your suggestion fixed it.

Regards,
A.D.



"Jim Buyens" <(E-Mail Removed)> wrote in message
news:0d7401c3d936$ff8985d0$(E-Mail Removed)...
> >-----Original Message-----
> >FP2002 has the annoying habit of changing all occurances
> >of a carriage return to "<br>" whenever I use a literal
> >in the query, e.g. SELECT FirstName & ' ' & LastName AS
> >Name. Is there any way to get around this behavior?

>
> This is typical in the northern states this time of year,
> especially when the query goes outside without an overcoat.
>
> Seriously, try this:
>
> 1. Right-click the column value in the finished
> Database Results Region
> 2. Choose Database Column Value Properties from
> the shortcut menu.
> 3. Select the Column Value Contains HTML checkbox.
>
> Jim Buyens
> Microsoft FrontPage MVP
> http://www.interlacken.com
> Author of:
> *----------------------------------------------------
> |\---------------------------------------------------
> || Microsoft Office FrontPage 2003 Inside Out
> ||---------------------------------------------------
> || Web Database Development Step by Step .NET Edition
> || Microsoft FrontPage Version 2002 Inside Out
> || Faster Smarter Beginning Programming
> || (All from Microsoft Press)
> |/---------------------------------------------------
> *----------------------------------------------------
>



 
Reply With Quote
 
Jim Buyens
Guest
Posts: n/a
 
      12th Jan 2004
>-----Original Message-----
>Thanks, that worked! To be honest, I really thought you
>misread my question, because I saw no relationship
>between my problem and your solution. I'd be very
>interested in knowing what was happening to cause the
>substitutions of "<br>", and how your suggestion
>fixed it.


When displaying database results, FrontPage creates code
that translates characters like:

Character Characters
In Data Send to Browser
< &lt;
> &gt;

" &quot;

This is so the browser doesn't try to interpret the data
as HTML. Well, the same translation changes carriage
returns to their HTML equivalent: <br>.

Spooky, eh?

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MCE toolbar/player control mysteriously appears =?Utf-8?B?ZnJlZG9sbQ==?= Windows XP Help 0 17th Jan 2006 09:56 PM
Deleted (AD) user appears in emails mysteriously. =?Utf-8?B?ZGVza3RvcA==?= Windows XP Security 6 16th Feb 2005 04:45 PM
Control Toolbar mysteriously appears Susan Microsoft Word New Users 2 11th Oct 2004 08:04 PM
Duplicate Logical Drive Mysteriously Appears Paul Homchick Microsoft Windows 2000 File System 0 28th Jul 2004 11:27 PM
Header Box/Text Box Mysteriously appears! Lou Smith Microsoft Word Document Management 1 17th Jan 2004 04:26 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:46 AM.