On 02/15/2010 12:21 PM, Sim Zacks wrote:
>
>
> On 02/15/10 15:08, Jacek Kałucki wrote:
>> Użytkownik sim napisał:
>>
>>> The table has a single primary key, customerid.
>>> My bizobj is about as simple as you could get:
>>>
>>> import dabo
>>>
>>> class CustomerBizobj(dabo.biz.dBizobj):
>>>           def afterInit(self):
>>>                   self.DataSource = "customers"
>>>                   self.KeyField = "customerid"
>>>
>>>
>>>
>> To be clear, you have two forms, first selection form,
>> and second edit form, where edit form derives bizobj from
>> selection form. I'm correct right?
>>
> When I add a new button to the Details form and click it, it does take
> me to a new record and it saves it. However, the log still doesn't show
> any db activity other then the initial select. Another weirdity is that
> the are 3 child records that get populated but they don't show up in the
> log either.

Not sure if this applies, but your bizObj has name of "customers" yet 
you refer to "customer"
  biz2=cust.getBizobj("customer")


-- 
Adrian Klaver
[email protected]
_______________________________________________
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