OK, If your database table is setup correctly then in the database examples section you should be able to create a form similar to the one in example 33 for a many to many relationship. http://web2py.com/examples/database_examples/buy
( http://web2py.com/examples/default/examples#database_examples see number 33 )