CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Summary of a Memo Field

Print topic Send  topic

Author Message
duploX

Posts: 14
Posted: 05/18/2007, 6:14 PM

How can I display a summary of a memo field ???

I have a memo field where users can write reviews about hotels and travel destinations.

When they search for reviews I would like to display a brief summary (maybe 100 letters) instead of the full review.

Does anyone know how to do that ???

Thank you in advance.

Christoph
View profile  Send private message
wkempees
Posted: 05/19/2007, 5:55 PM

if the select contains anything like
SELECT comment from table
you could easily (studying you SQL language reference) in pseudo:
SELECT substring(comment,100) from table
to get the first 100 characters

when comfortable with that you could even shorten the 100 by finding the
last space within your 100
and substitute that space with either [.. contd.] or even a hyperlink to the
full article

Walter


"duploX" <duploX@forum.codecharge> schreef in bericht
news:6464e4f93dfa69@news.codecharge.com...
> How can I display a summary of a memo field ???
>
> I have a memo field where users can write reviews about hotels and travel
> destinations.
>
> When they search for reviews I would like to display a brief summary
> (maybe 100
> letters) instead of the full review.
>
> Does anyone know how to do that ???
>
> Thank you in advance.
>
> Christoph
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.yessoftware.com/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.