PC Review


Reply
Thread Tools Rate Thread

Database Results Display

 
 
Stu
Guest
Posts: n/a
 
      9th Jun 2004
I have a form that submits to a database and in one of the
fields you enter in text surrounded by html code.

When I go to display this field on a results page, you can
still see the html code. This is what is use to display
the talbe column:

<%=FP_FieldVal(fp_rs,"tinfo")%>

What would this code look like if I wanted to display the
text formated from the html code around it without seeing
the code itself?
 
Reply With Quote
 
 
 
 
Thomas A. Rowe
Guest
Posts: n/a
 
      9th Jun 2004
Try using

<%=fp_rs("tinfo")%>

If that doesn't work, post a sample of the content that is being entered into the database field.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

"Stu" <(E-Mail Removed)> wrote in message
news:1a56301c44e3c$d34d4f80$(E-Mail Removed)...
> I have a form that submits to a database and in one of the
> fields you enter in text surrounded by html code.
>
> When I go to display this field on a results page, you can
> still see the html code. This is what is use to display
> the talbe column:
>
> <%=FP_FieldVal(fp_rs,"tinfo")%>
>
> What would this code look like if I wanted to display the
> text formated from the html code around it without seeing
> the code itself?



 
Reply With Quote
 
Jim Buyens
Guest
Posts: n/a
 
      9th Jun 2004
Right-click that column in the finished Databae Results
Region.

Choose Database Column Value Properties from the shortcut
menu.

Select Column Value Contains HTML.

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)
|/---------------------------------------------------
*----------------------------------------------------



>-----Original Message-----
>I have a form that submits to a database and in one of

the
>fields you enter in text surrounded by html code.
>
>When I go to display this field on a results page, you

can
>still see the html code. This is what is use to display
>the talbe column:
>
><%=FP_FieldVal(fp_rs,"tinfo")%>
>
>What would this code look like if I wanted to display the
>text formated from the html code around it without seeing
>the code itself?
>.
>

 
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
Display database results Sophia Microsoft Frontpage 7 8th Feb 2009 09:11 AM
How do I display the results from my database? =?Utf-8?B?QmlnRA==?= Microsoft Frontpage 1 14th Oct 2005 10:25 AM
Display Database results in Outlook Stephen Green Microsoft Frontpage 4 6th Aug 2004 08:16 PM
Database results display L Scal Microsoft Frontpage 1 21st Jan 2004 01:12 AM
Decimal space problem in FP database results display. john elfrank Microsoft Frontpage 1 7th Nov 2003 09:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:45 AM.