Say I have a "persons" table, which has the following columns- "Firstname", "Lastname", "DateOfBirth".
Now assuming many different parts of the application display information from these three columns together. Is there a way I can define a function *persons.information *that returns the concatenation of these columns? Similarly, say the persons table also has an age column, and my application assigns groups to different age groups (A= 1-10, B= 11-20, F=51-60 etc). Can I define a function called *persons.age_group *that returns the group ID? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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/d/optout.

