I solved this so:

def crear():
    response.subtitle ='Prueba'
    form=crud.create(db.sipfriends)
    if form.accepts(request.vars, session):
        session.name = form.vars.name
        session.calllimit = form.vars.calllimit
        redirect(URL('complemento'))
    return dict(form=form)
def complemento():
    a = "UPDATE  `sipfriends` SET  `call-limit` = " +
session.calllimit + " WHERE `name` = " + session.name + ";"
    db.executesql(a)
    redirect(URL('index'))
    return dict()

On 11 mar, 19:45, cabildocl <cabi...@gmail.com> wrote:
> Is this to be? "web2py or python?
>
> On 9 mar, 19:31, Massimo Di Pierro <massimo.dipie...@gmail.com> wrote:
>
>
>
>
>
>
>
> > you cannot. You can have a field.label with the id but not in the
> > field name.
>
> > On Mar 9, 6:51 am,cabildocl<cabi...@gmail.com> wrote:
>
> > > I need create a field in DAL, what include a character special "-".
> > > How i can do this?
>
> > > Greetings

Reply via email to