> > Question > > I would like the list of projects to appear in a dropdown that are > only associated with the Logged in user’s account (for example account_id > would be 1). >
please try : query = db(db.project.account_id == auth.user_id).select().first() > > > How do I filter the projects on the form to only show the projects > that are associated with an account_id of 1? > query = db(db.project.account_id == 1).select().first() best regards, stifan > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

