Hi Jason, my real fields are so different, I need a little help. Can you please tell me what does what so I can implement? E.g." (db.project.created_by==auth.user) <<<selects the current user's data only?? db.project.is_active==True) <<< only selects data not archived?? etc. which part makes parent ID only appear once?
thanks, Alex On Friday, March 15, 2013 5:19:02 PM UTC-7, 黄祥 wrote: > > did you try using query ? > > e.g. > query=(db.project.created_by==auth.user) & (db.project.is_active==True) > grid=SQLFORM.grid(query, user_signature=False, onupdate=auth.archive) > -- --- 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/groups/opt_out.