I create two tables. db = DAL('sqlite://storage.sqlite') *db.define_table('maintable',* * Field('refcode',unique=True, requires=IS_NOT_IN_DB(db,'maintable.refcode') ),* * Field('description'))*
*db.define_table('secondtable',* * Field('refcode','reference maintable', requires=IS_IN_DB(db, 'maintable.refcode', '%(name)s')),* * Field('Description', 'string'),* * Field('quantity')* *ı using inline grid for secondtable.* *I choose 'refcode'.**and I want information from 'maintable'.By selecting the 'reference' the 'description'of the information coming automatically and entering the 'quantity'. ı want to save.....* *how can I do that.* *Thank you in advance for your help.* -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.