Ok found that : http://web2py.com/book/default/docstring/SQLTABLE

<http://web2py.com/book/default/docstring/SQLTABLE>I will probably be able
to manage it.

Richard

On Thu, Oct 14, 2010 at 12:34 PM, Richard Vézina <
[email protected]> wrote:

> Hello,
>
> I have this basic function :
>
> def select():
>
>  
> datas=crud.select(db.table1,headers='fieldname:capitalize',truncate=100,linkto=URL(r=request,f='read'))
>     return dict(datas=datas)
>
> It transform my table ID field into a link to the crud.read function of a
> particular record.
>
> I would like to "hide" the database PK to the lambda user... So I would
> like that an other field of the table (that contain a meaningfull
> information for my users) be transform into a link...
>
> Is it possible to do it with "linkto" and how I may proceed?
>
> Thanks
>
> Richard
>
>
>

Reply via email to