Am Mittwoch, 24. September 2008 05:34:16 schrieb Ed Leafe:
> On Sep 23, 2008, at 10:12 PM, david wrote:
> > I get an error with;
> >
> >        self.addField("clients.clientname")
>
>       That's odd - since the field 'clientname' doesn't exist in the hours
> table, it should be excluded from the SQL, as it should clearly be
> marked as a non-updatable field. Are you setting the DataStructure
> properly explicitly anywhere?
>

I can't see the screenshot with the OPs error message, but I remember that I 
had some error with the same field which went away when I put it into the 
non-updatable list explicitly:

class BizHours(dabo.biz.dBizobj):
    def initProperties(self):
        ...
        self.NonUpdateFields = ["clientname"]
        ...

And the DataStructure _is_ explicitly set (this is not in the original Guide, 
btw). 

HTH
Sibylle

-- 
Dr. Sibylle Koczian


_______________________________________________
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]

Reply via email to