Re: [web2py] Re: computed field or is_in_db(query...

2011-12-20 Thread Richard Vézina
Your welcome :) Richard On Tue, Dec 20, 2011 at 1:15 PM, Jose Carlos Junior wrote: > Solved..Thanks alot... dear Richard Vézina > > On 19 dez, 21:42, Jose Carlos Junior wrote: > > Good idea... > > > >I gonna try thisas soon as possible > > Thanks alot... > > > > On 19 dez, 17:44, Ri

[web2py] Re: computed field or is_in_db(query...

2011-12-20 Thread Jose Carlos Junior
Solved..Thanks alot... dear Richard Vézina On 19 dez, 21:42, Jose Carlos Junior wrote: > Good idea... > >    I gonna try thisas soon as possible > Thanks alot... > > On 19 dez, 17:44, Richard Vézina wrote: > > > > > > > > > Carlos, > > > If you really not getting it... Here what I am doi

[web2py] Re: computed field or is_in_db(query...

2011-12-19 Thread Jose Carlos Junior
Good idea... I gonna try thisas soon as possible Thanks alot... On 19 dez, 17:44, Richard Vézina wrote: > 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 reprense

Re: [web2py] Re: computed field or is_in_db(query...

2011-12-19 Thread Richard Vézina
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 i

Re: [web2py] Re: computed field or is_in_db(query...

2011-12-19 Thread Richard Vézina
What about that : db.tab2(db.tab1(id).id).field ?? Richard On Mon, Dec 19, 2011 at 11:42 AM, Jose Carlos Junior wrote: > OK > but i need to call from gtils_representante table the nm_cidadao from > cidadao tablethis is my doubt > gtils_representante is a n:n relationship between GTI

[web2py] Re: computed field or is_in_db(query...

2011-12-19 Thread Jose Carlos Junior
OK but i need to call from gtils_representante table the nm_cidadao from cidadao tablethis 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...