right, totally forget I could use that also for SQLFORM.factory.
thanks Marin!

On Tuesday, August 20, 2013 11:47:10 PM UTC+2, Marin Pranjić wrote:
>
> db.tablename.fieldname.writable=False 
> db.tablename.fieldname.readable=False 
>
> before you create a form 
>
> On Tue, Aug 20, 2013 at 11:43 PM, Alex <mrau...@gmail.com <javascript:>> 
> wrote: 
> > I'm using SQLFORM.factory to create a form for two tables: 
> > form = SQLFORM.factory(db.invoice, db.individual_invoice, 
> > table_name='individual_invoice') 
> > 
> > now I need to exclude one field from invoice table in case the invoice 
> > already exists, this field should not be updated once the invoice is 
> > created. 
> > Any ideas how to do this? 
> > 
> > Alex 
> > 
> > -- 
> > 
> > --- 
> > 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 web2py+un...@googlegroups.com <javascript:>. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
>

-- 

--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to