Hi Massimo thank you for you help!

What I was trying to do using crud.update initially was have a user update
one of their records. When they do this I would like to set a boolean value
that is in db.listing named 'confirmed' to False (confirmed=False) which is
readable=False and writable=False

I could not figure out how to do this using crud and thought I could
possibly do it using SQLFORM obviously I can not though

@auth.requires_login()
def edit_listing():
    listing_id = request.args(0)
    form =
crud.update(db.listing,int(listing_id),next=URL('user_control','listing'))
    return dict(form=form)

Is there anyway I can have a user update there confirmed listing but then
have the value confirmed=True reset to confirmed=False

*cheers

and Thank You again

Andrew

-- 

--- 
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