Hi, When you have the statements pep=db(db.person.id> 0).select(orderby=db.person.id) form=SQLFORM(db.events,fields=['description']) ev=db(db.events.person==db.person.id).select()
pep=db(db.person.id> 0).select(orderby=db.person.id) This line selects the master. ev=db(db.events.person==db.person.id).select() This selects the details by the person.id What joins them together? Thanks for any help JIM --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---