does this works with CRUD?

On May 18, 11:48 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
> or db.table.id.readable=False
>
> On May 18, 10:10 am, Jose <jjac...@gmail.com> wrote:
>
> > On 18 mayo, 06:59, Andrew Buchan <andyha...@gmail.com> wrote:
>
> > > Hello,
>
> > > Very simple one today:
>
> > > SQLFORM(db.CAR_Report, record = CARId , readonly = True, fields =
> > > ['Part_Number'])
>
> > > gives me a form showing:
>
> > > Id:                         1
> > > Part Number:         U5118
>
> > > Thing is, I don't want the user to see the id field (for good reason),
> > > but I can't seem to hide it...
> > > Any ideas?
>
> > SQLFORM(db.CAR_Report, record = CARId , readonly = True, showid=False,
> > fields =['Part_Number'])

Reply via email to