This is from a Massimo answer in another thread:

form=crud.create(db.table,onaccept=lambda form:
do_something_with(form.vars.id))

On Sep 5, 6:52 am, Johann Spies <[email protected]> wrote:
> I want the id of the just record inserted with crud.create to be shown
> in the message but I don't know how to ask crud for the id.
>
> How can it be done?
>
> Regards
> Johann
>
> --
>     "Be not deceived; God is not mocked: for whatsoever a
>      man soweth, that shall he also reap."
>                                   Galatians 6:7

Reply via email to