Hi

I was curious, how to make my own custom Rows object out of some
records

I didn't succeed to get it work

records = []
id = auth.id_group(CEO)
x = db(db.auth_membership.group_id ==
id ).select(db.auth_membership.user_id)
        for man in  x:
            records.append(db.auth_user[man.user_id])
        auth_user_headers = db.auth_user._filter_fields(dict((v,k) for
k, v in dict(enumerate(db.auth_user.keys())).iteritems())).keys()
        result = Rows(db=db.auth_user,
records=records,colnames=auth_user_headers)

I succeed to get a Rows object but can't print it or use it
so what's wrong ?

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to