Hi,
Document was at :-
http://svn.dabodev.com/dabodemo/tags/dabodemo-0.4/SimpleFormWithBizobj.py
I knew it was old, but it seemed to encapsulate a lot of good stuff. I won't
use it any more!
Thanks
Rodgy
----- Original Message -----
From: "Paul McNett" <[EMAIL PROTECTED]>
To: "Dabo Users list" <[email protected]>
Sent: Wednesday, November 19, 2008 3:21 AM
Subject: Re: [dabo-users] Validation in bizObj
> Ed Leafe wrote:
>> On Nov 17, 2008, at 10:24 PM, johnf wrote:
>>
>>> if len(self.getFieldVal("MTypeDec") < 1
>>
>> There are two ways to get the value of a particular column in the
>> dataset for the current record. John has shown you one way: call the
>> getFieldVal() method, with the column name as the argument. The other
>> way is to use the bizobj's 'Record' property, which does all those
>> calls for you. In this case, you could write self.Record.MTypeDec, and
>> you would get the value.
>
> In the olden days of Dabo, you used to be able to say biz.<fieldname> but
> modern dabo
> enforces biz.Record.<fieldname>. If you were following a doc that used the
> old form,
> please show us that doc so we can update it!
>
> Paul
>
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]