A another way to define a different column name is using label
Field('myfield', label ='myothernametofield')
(in model)or in controller/function (if you don't want to all app)) db.mytable.myfield.label = 'myothernametofield' 2010/1/21 Johann Spies <[email protected]> > I would like the table produced by SQLTABLE to have different column > labels (e.g. "Name" for "db.person.name"). How do I do it? > > Also: I would like the output of SQLTABLE to provide links to > individual records simliar to what appadmin does. I could not fully > understand the code appadmin uses to achieve this. > > Can linkto be used in this case? From what I understand from te book > linkto is a SQLFORM method and is not related to SQLTABLE. > > Regards > Johann > > -- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<web2py%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/web2py?hl=en. > > > > -- Atenciosamente -- ========================= Alexandre Andrade Hipercenter.com--
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To post to this group, send email to [email protected].
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.

