Hello,

Does not appear with :

ref_eregistry.report_title.readable=True
form=SQLFORM(ref_eregistry,1,readonly=True)


Richard

On Wed, Oct 13, 2010 at 11:45 AM, Richard Vézina <
[email protected]> wrote:

> Don't work...
>
> I update to 1.87.2 just to be sure. Still not working.
>
> Richard
>
> On Fri, Oct 8, 2010 at 6:45 PM, Richard Vézina <
> [email protected]> wrote:
>
>> I try, I was really confuse it didn't work.
>>
>> I will try again next week.
>>
>> It is under w2p 1.83.2
>>
>> Richard
>>
>> On Fri, Oct 8, 2010 at 4:55 PM, mdipierro <[email protected]>wrote:
>>
>>> before the db.read add
>>>
>>> db.ref_eregistry.report_name.readable=True
>>>
>>> On Oct 8, 2:55 pm, Richard Vézina <[email protected]> wrote:
>>> > Hello,
>>> >
>>> > How can I make a computed field appear in a crude.read?
>>> >
>>> > For example :
>>> >
>>> > db.ref_eregistry.report_name.compute=lambda r:
>>> > r['report_date'].strftime("%Y%m%d")+r['report_author']+r['report_num']
>>> >
>>> > But if I do
>>> >
>>> > crud.read(db.ref_eregistry,1)
>>> >
>>> > I will have all the other field except the compute field.
>>> >
>>> > Thanks
>>> >
>>> > Richard
>>>
>>
>>
>

Reply via email to