Thanks Massimo,
_extra[str(....

solved my first problem.
For the second one, here is what you asked:

db.define_table('movimenti',
    SQLField('data','date',requires=IS_DATE('%d/%m/%Y'),default=now),
    SQLField('t2_person_id',default=db.t2_person.id),
    SQLField('ente_id',db.enti),
    SQLField('tipo',requires=IS_IN_SET
(['carico','scarico']),default=''),
    SQLField('completato','boolean',default=False))

Thanks a lot for your help

Paolo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to