Hello,

I would like to build a form that will contain many row for the same table 
to make a kind of batch insert of record a given table.

Now I am searching a way to append many different instance of the same 
fields definition for a given table into SQLFORM.factory... Something like 
that :

inputs = []
for i in range(0,10):
    inputs.append(subSetOfTableDifinedField) # HERE I would avoid 
redefining the field of the table that are already defined

form = SQLFORM.factory(*inputs)

So, I would like to get : Field('field1', 'type', ...) of a given table 
define...

Are the field of each table define contained in a variable internally that 
I can access or web2py only parse Models?

Thanks

Richard

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to