hello one and all,

here is the default behavior when i run the select statement like:

d = db.news
lst = db(d.id>0).select(d.id, d.event_date, d.permission, d.type,
d.title, d.body, orderby=~d.event_date)

news.id news.event_date news.permission news.type       news.title      
news.body
29      2011-03-17              Equipment Con...        Tektronix       
Tektronix has...
28      2011-01-14              Event   Research Hiat...        After a long ...

so you can see that i know how to change which fields display, but i
would like to make news.body display say a character length of 30, and
change the headers to remove the "news.".

how do i do both of those customizations?  thank you in advance and
have a great day.  lucas

Reply via email to