not sure about the problem because of lack info of your code, perhaps is just the define table arrangement. *e.g. wrong arrangement because the table define the customer first yet it can not found the bank table* db.define_table('customer', Field('name'), Field('bank', 'reference bank'), format = '%(name)s')
db.define_table('bank', Field('name'), format = '%(name)s') *e.g. correct arrangement* db.define_table('bank', Field('name'), format = '%(name)s') db.define_table('customer', Field('name'), Field('bank', 'reference bank'), format = '%(name)s') best regards. stofam > -- 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.