[web2py] Create a simple drop down list

2011-11-19 Thread EdgarAllenPoe
Can some one show me what the code would look like to accomplish the following: Create a drop down list for field A that will be populated by field B A.db.t_ab_recipient.f_distribution_name B.db.t_ab_distribution.f_distributionname Any help would be appreciated.

[web2py] Re: Create a simple drop down list

2011-11-19 Thread EdgarAllenPoe
#x27;)), auth.signature, format='%(f_recipient_name)s', migrate=settings.migrate) db.define_table('t_ab_recipient_archive',db.t_ab_recipient,Field('current_record','reference t_ab_recipient',readable=False,writable=False)) On Nov 19, 11:42 am, Anthony

[web2py] Re: Create a simple drop down list

2011-11-20 Thread EdgarAllenPoe
Thanks again Anthony, Your help has been clear and concise. I have what I need now. About the error thing. Just to be clear where I am working from. I am using the online editor at: http://127.0.0.1:8000/admin/default/edit/XxXxxx/models/db_wizard.py And for a test I just removed one of th

[web2py] Re: Create a simple drop down list

2011-11-20 Thread EdgarAllenPoe
rop down list db.t_ab_team.f_distribuionname ###would like this to show a drop down list to db.t_ab_distribution.f_distributionname ###contents of drop downlist or am I doing something else wrong? On Nov 20, 6:47 am, EdgarAllenPoe wrote: > Thanks again Anthony, > > Your help has been clear and concise.  I