Re: [web2py] Re: .represent not representing

2011-02-14 Thread Richard Vézina
yes you are right, but I have problem with format some times don't know why... Format with that syntax : Field('myother_id','db.othertable'). And represent not work with : Field('myother_id',db.othertable) in case of crud.select, but works for crud.read... Richard On Mon, Feb 14, 2011 at 12:08

[web2py] Re: .represent not representing

2011-02-14 Thread DenesL
In theory it should work but you can get the same effect with format, try: db.define_table('adres', Field('straat'), format='%(straat)s' ) and remove the represent. On Feb 12, 10:04 am, Johann Spies wrote: > I get the following output : > > inwoner.idinwoner.v