Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 09:20 AM
Mike M
Guest
 
Posts: n/a
Default Memo snippet

Hi all,

This is my first post here. I have been looking everywhere on the forums and
all over the net but i cannot find anything about this.

I did find one tutorial ages ago but didnt have a use for it at the time.
What i would like to do is have a page that cycles through a database and
display lets say the last 5 new records. Then display the first 200
characters of a memo field and have a "more" link which opens the full
record in a detail page?

A good example is http://www.ananova.com/ But you dont click a "more" link
just the title of the news article.

Any help will be greatly appreciated.
Many Thanks
Mike


  #2  
Old July 19th, 2005, 09:20 AM
Aaron Bertrand - MVP
Guest
 
Posts: n/a
Default Re: Memo snippet

Last 5: use TOP 5 order by DateUpdated_column DESC

Extract: http://www.aspfaq.com/2398


"Mike M" <mike@mack1.karoo.co.uk> wrote in message
news:bns1ug$iqb$1@newsreaderg1.core.theplanet.net. ..[color=blue]
> Hi all,
>
> This is my first post here. I have been looking everywhere on the forums[/color]
and[color=blue]
> all over the net but i cannot find anything about this.
>
> I did find one tutorial ages ago but didnt have a use for it at the time.
> What i would like to do is have a page that cycles through a database and
> display lets say the last 5 new records. Then display the first 200
> characters of a memo field and have a "more" link which opens the full
> record in a detail page?
>
> A good example is http://www.ananova.com/ But you dont click a "more" link
> just the title of the news article.
>
> Any help will be greatly appreciated.
> Many Thanks
> Mike
>
>[/color]


  #3  
Old July 19th, 2005, 09:20 AM
Mike M
Guest
 
Posts: n/a
Default Re: Memo snippet


"Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message
news:O6Ao1SznDHA.1740@TK2MSFTNGP12.phx.gbl...[color=blue]
> Last 5: use TOP 5 order by DateUpdated_column DESC
>
> Extract: http://www.aspfaq.com/2398
>
>
> "Mike M" <mike@mack1.karoo.co.uk> wrote in message
> news:bns1ug$iqb$1@newsreaderg1.core.theplanet.net. ..[color=green]
> > Hi all,
> >
> > This is my first post here. I have been looking everywhere on the forums[/color]
> and[color=green]
> > all over the net but i cannot find anything about this.
> >
> > I did find one tutorial ages ago but didnt have a use for it at the[/color][/color]
time.[color=blue][color=green]
> > What i would like to do is have a page that cycles through a database[/color][/color]
and[color=blue][color=green]
> > display lets say the last 5 new records. Then display the first 200
> > characters of a memo field and have a "more" link which opens the full
> > record in a detail page?
> >
> > A good example is http://www.ananova.com/ But you dont click a "more"[/color][/color]
link[color=blue][color=green]
> > just the title of the news article.
> >
> > Any help will be greatly appreciated.
> > Many Thanks
> > Mike
> >
> >[/color]
>
> Cheers[/color]


 

Bookmarks

Thread Tools

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles