Sorry, misstyped and sent the message early. So once again:

I can create database fields from a list like this:

list = ["a","b","c","d"]
fields = []
for entry in list:
    fields += [Field(entry, type="string")]
db.define_table('test', *fields)

Now I want to have a virtual field for each field in the list.
Any way to do this? As virtual field names are not strings but
function names I got no idea how to do this.

Reply via email to