hello there

I was wondering how to modify the name or alias ( I don't know if I
have understood correctly the difference? is there any difference
between name of the field and alias?) also, how to assign the length
id given by the database I have the following example

db.define_table('Customer',Field('Customer','id'),Field
                    ('Customerid'),

will this be then Customer.Customerid?

and I would like to have an id of 6 characters generated randomly ( I
don't care if it's string or integer or numbers or letters just
generated randomly and with 6 of length). Can anybody tell me how is
this possible?

thank you in advance


regards,

brangi

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

Reply via email to