On Aug 27, 2010, at 1:22 PM, Jim Byrnes wrote:
>>> It may be apparent to a more experienced coder than myself but it seems
>>> Dabo's .save() needs a table with a primary key to work. Now to put this
>>> to use on the app I'm working on.
>>
>> Ooh, yeah, pk's are a definite requirement for updating records (but not for
>> querying).
>>
>> I wonder if we shouldn't be raising an exception that says something like
>> "Can't save
>> a record with no KeyField defined."
>>
>> Thanks for following up on the problem.
>>
>> Paul
>>
>
> It would be helpful for a newbie like myself. I thought I was doing
> something wrong in Dabo when it was really a table design mistake.
It's already sort of an exception: see http://dabo.codepad.org/xwoyZv93
The only way that that would not be triggered is if you defined the
PrimaryKey property for the bizobj. You said that there is no PK, so what did
you do for that?
-- Ed Leafe
_______________________________________________
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]