Carlos, If you really not getting it... Here what I am doing to work around the kind of problem you seem to have...
I would make a view at backend level with id and reprensent I want for this particular id, then I write db model for the view like if it was a web2py table and then use this table in my represent instead of the original table that were linked with m2n relation... Hope it helps Richard On Mon, Dec 19, 2011 at 11:54 AM, Richard Vézina < ml.richard.vez...@gmail.com> wrote: > What about that : > > db.tab2(db.tab1(id).id).field > > ?? > > Richard > > > > > On Mon, Dec 19, 2011 at 11:42 AM, Jose Carlos Junior > <josec...@gmail.com>wrote: > >> OK.... >> but i need to call from gtils_representante table the nm_cidadao from >> cidadao table....this is my doubt >> gtils_representante is a n:n relationship between GTIL(not posted) and >> representante. >> >> I believe I have not explained it right the first time... >> > >