Hello everybody,

I have this table with a list:reference to another table

Movie = db.define_table('movies',
 Field('title','string', label = 'Title'),
 Field('date_release','integer', label = 'Date Release'),
 Field('duraction','integer', label = 'Duraction'),
 Field('category','string','list:reference categories', label = 'Category'),
 Field('actor','list:reference actors', label = 'Actor'),
 Field('director','list:reference directors', label = 'Diretor'),
 )




I have to do a report using Reportlab and I would like to know how can I 
extract the data from a  list:reference
I tried to do this but it doesn't work
for row in db(db.movies).select():
        list= row.actor 
        story.append(list)

I would like to know how can I get the data from the list. Any suggestions 
will be appreciated.

Thanks.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to