Can custom_store and custom_retrieve take parameters when they are called 
using Field, e.g.:
db.define_table('table',
    Field('file', 'upload', custom_store=store_file(file, 
db.table.new_filename), 
custom_retrieve=retrieve_file(db.table.new_filename))?
    Field('new_filename','string')
)
All the examples (which are few) I have seen use:

Field('file', 'upload', custom_store=store_file, 
custom_retrieve=retrieve_file)

and set the parameters within the body of each function.

I've tried repeatedly to set custom parameters within the Field call but 
get errors.  

-Jim

-- 



Reply via email to