Re: [web2py] is_in_db two tables

2012-04-04 Thread CtrlSoft
many thanks

Re: [web2py] is_in_db two tables

2012-04-01 Thread Manuele Pesenti
Il 01/04/2012 19:52, CtrlSoft ha scritto: i have the follwing tables: || db.define_table('topmenu', Field('parent',type='integer', requires=IS_EMPTY_OR(IS_IN_DB(db, 'topmenu.id', '%(title)s'))), Field('link', type='string', label=T('Link')), Field('title',

Re: [web2py] is_in_db two tables

2012-04-01 Thread CtrlSoft
it's a good idea, but i'm using sqlform.grid in app admin and this will create confusion in rows ..., i need to hide rows that are in sidemenu or in top menu.